Re: pcre (Perl C regular expression) module for php3
| From: | Andrey Zmievski | Date: | Fri, 14 May 1999 18:36:03 +0000 |
| Subject: | Re: pcre (Perl C regular expression) module for php3 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-5627@lists.php.net to get a copy of this message | ||
Michael Barnes wrote:
> Hi all, I'm new to php3 and this list, and I have been quite impressed
> with php3 with 1 exception, regular expressions.
>
> I have been writing a php3 frontend for the pcre library by Philip Hazel.
> Has anyone else done this? Is this of interest to someone besides me?
>
> So far I have 2 public functions written preg and preg_op. preg is the
> same as ereg except it uses Perl style pattern matching, and preg_op is
> like eregi except it can be passed a string of options for caseless
> matching (/i option in Perl), extended matching (/x option in Perl),
> multiline matching (/m option in Perl).
>
>
> Feedback and Testers are welcome.
I'd better explain what I'm doing with PCRE.
I am building a PCRE module for PCRE that will allow people to use Perl-style
expressions with any options supported by the library and also a /g for
global matching. I was afraid this was going to happen, that is, someone
else would start writing one before I'm done. Same thing happened with WDDX
module...
-Andrey
* Only 19,999 lines of C++ to my next ski trip... *
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net