Re: Add support for PCRE marks
On 28 February 2014 21:37, Nikita Popov <[email protected]> wrote:
>
> I wrote a patch to expose PCRE mark information in PHP, see
> https://github.com/php/php-src/pull/609/files.
> The last passed *MARK will
> be added to the $matches array under key "MARK". If you don't use marks
> everything stays exactly the same.
Hi,
Have you considered using a key that cannot be mistaken for (or
interfere with) a named capture called "MARK"? How about "*MARK"?
Thread (9 messages)