[pcre-dev] (*SKIP) action
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Ce message fait partie du fil suivant :
Arborescence complète du fil triée par date
Philip Hazel à
2009-09-13 16:10
Auteur:
ND
Date:
2009-09-12 15:29
UTC
À:
Pcre-dev
Sujet:
[pcre-dev] (*SKIP) action
PCRE documentation says about (*SKIP):
This verb is like (*PRUNE), except that if the pattern is unanchored, the
"bumpalong" advance is not to the next character, but to the position in
the subject where (*SKIP) was encountered.
Subject string: '0123456789'
Pattern: (?=....(*SKIP))1
I waits no matches, but there is a match in position 1. Why (*SKIP) dont
force the jump to bumpalong='4' after first submatch fails?
Thanx
Michael