On 2011-05-02 15:48, Herczeg Zoltán wrote:
It is true, that you may have several forms to achive the same purpose, but I would prefer a conditional block here since that would be much more reasonable: (?(?=a(b)))


And then you meet another compatibility problem:
PCRE unlike Perl don't capture subpatterns in assertions-conditions.
Here is pcretest listing:


PCRE version 8.11 2010-12-10
/(?(?=a(b)).*d\1|.*d)/s
abdb
 0: bd

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

Reply via email to