Re: pcre (Perl C regular expression) module for php3

From: Date: Fri, 14 May 1999 18:29:10 +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-5625@lists.php.net to get a copy of this message
On Fri, May 14, 1999 at 02:12:35PM -0400, 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). Count me in. I've always missed Perl-style regexes in PHP. Where can I find the pcre library? -- Regards, Sascha Schumann Consultant -- 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

« previous php.dev (#5625) next »