Συντάκτης: ND Ημερομηνία: Προς: Pcre-dev Αντικείμενο: Re: [pcre-dev] Remove some restrictions of lookbehind assertions
May be it can be useful to have ability to set a limits of lookbehind
search for performance reasons.
I can imagine a rule: If nonfixedlength lookbehind immediately preceded by
capture group, then it is restricted to start position of this group.
For example in pattern
abc(\w++)(?<=\d+)
lookbehind limits are [3;n-1]
If there is no immediately preceded capture group then lookbehind limits
are [0;n-1].