On Fri, 11 Nov 2011, ND wrote:
> I suppose is not the Perl way. It seems that Perl keeps last MARK value
> regardless starting point was advanced.
>
> Perl code:
> $_ = "abc";
> if (/b(*:m)f|a(*:n)w/) { print "-YES-$REGMARK"; }
> else { print "-NO-$REGERROR"; }
>
> Result:
> -NO-m
>
> *MARK:m was keeped by Perl in $REGERROR and may be accessed after match fails.
Hmm. OK, I've made a note to do some further investigation into this
issue.
Philip
--
Philip Hazel
--
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev