But it is a strange logic (in my point of view) that
/(?=(*:x))(q|)/K
keeps the MARK:x value
while the
/(?=(*:x))((*:y)q|)/K
don't.
Isn't it?
Perl documentation says:
"When a match is successful, the $REGMARK variable will be set to the name
of the most recently executed (*MARK:NAME) that was involved in the match."
It seems that Perl don't follow the documented behaviour and returns
erroneous results in example above.
So I propose to not move this bug into PCRE.
--
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev