Re: New extension: re2
| From: | Lars Strojny | Date: | Thu, 23 Jun 2011 09:18:56 +0000 |
| Subject: | Re: New extension: re2 | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8384@lists.php.net to get a copy of this message | ||
Hi Arpad,
I really like the extension. One naming thing remark: how about moving
classes and functions in the Regex\RE2 namespace (or just RE2)?
With regards,
Lars
Am 18.06.11 20:50 schrieb "Arpad Ray" unter <arraypad@gmail.com>:
>Hi,
>
>I've put together an extension which wraps RE2 - an alternative to
>PCRE which can be much faster and be constrained to memory limits, at
>the expense of backreferences and generalized zero-width assertions.
>The RE2 homepage is at http://code.google.com/p/re2/
>
>The extension mirrors ext/pcre's functions, so aside from the syntax
>differences it should be a drop-in replacement.
>
>It also provides a couple of classes. The RE2 class represents a
>compiled pattern, and can be passed to any of the matching functions
>instead of a string, to save the compilation time when used
>repeatedly. The RE2_Options class allows some options to be set per
>pattern.
>
>The code can be found at: https://github.com/arraypad/php-re2
>
>I'd like to publish this extension in PECL if it looks alright to
>everyone, and I'd appreciate any feedback.
>
>Regards,
>
>Arpad
>
>--
>PECL development discussion Mailing List (http://pecl.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>