pcre (Perl C regular expression) module for php3
| From: | Michael Barnes | Date: | Fri, 14 May 1999 18:12:35 +0000 |
| Subject: | pcre (Perl C regular expression) module for php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5624@lists.php.net to get a copy of this message | ||
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.
Michael Barnes <mibarnes@vt.edu>
--
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