[pcre-dev] (*SKIP) action

Kezdőlap
Üzenet törlése
Szerző: ND
Dátum:  
Címzett: Pcre-dev
Tárgy: [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