Re: Add support for PCRE marks

From: Date: Tue, 18 Mar 2014 06:23:12 +0000
Subject: Re: Add support for PCRE marks
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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)

« previous php.internals (#73259) next »