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].

--
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev

Reply via email to