.
-Original Message-
From: Markus Fischer [mailto:mfischer;guru.josefine.at]
Sent: Friday, November 01, 2002 11:12 PM
To: Ilia A.
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] [PATCH] ereg to pcre conversion
I somehow don't like the idea. Mostly because I fear we
introduce some BC
On Thu, Oct 31, 2002 at 02:47:27PM -0500, Ilia A. wrote:
I would like to propose that we drop the old ereg library and use only
a single regular expression library, PCRE. For BC purposes I've written a
patch (see attached file), which emulates the old ereg_* functions for people
who still
On Fri, 1 Nov 2002, Sander Roobol wrote:
On Thu, Oct 31, 2002 at 02:47:27PM -0500, Ilia A. wrote:
I would like to propose that we drop the old ereg library and use only
a single regular expression library, PCRE. For BC purposes I've written a
patch (see attached file), which emulates the old
On Fri, 2002-11-01 at 18:28, Jani Taskinen wrote:
On Fri, 1 Nov 2002, Sander Roobol wrote:
On Thu, Oct 31, 2002 at 02:47:27PM -0500, Ilia A. wrote:
I would like to propose that we drop the old ereg library and use only
a single regular expression library, PCRE. For BC purposes I've written
I somehow don't like the idea. Mostly because I fear we
introduce some BC change regarding to the ereg*
functionality we yet do not forsee which brings us in the end
more trouble (i.e. use complaining) then it's really worth.
Just let ereg* functions stay where they are, if
Currently PHP ships with two regular expression libraries that are both
installed by default, PCRE regex. The regex library that is responsible for
ereg_* functions is fairly old and offers a very limited functionality
compared to the PCRE library. In most cases the PCRE functions are also
So you're planning on converting POSIX regexen to PCRE so people don't
need to worry about PCRE metacharacters that are POSIX literals? Seems
tricky. (e.g. is \w a backslash and a w or a word character? what
about search patterns of 10 instead of 10 they have different
meanings in egrep(), you'll
On October 31, 2002 02:57 pm, Adam Maccabee Trachtenberg wrote:
So you're planning on converting POSIX regexen to PCRE so people don't
need to worry about PCRE metacharacters that are POSIX literals? Seems
tricky. (e.g. is \w a backslash and a w or a word character? what
about search patterns
Just FYI: Recently I found that the result of following code differs by
ereg_replace() and preg_replace().
?php
$str = abcde;
var_dump(ereg_replace(, a, $str));
var_dump(preg_replace(//, a, $str));
?
Hmm... there might be other trivial BC problems apart from regex spec
differences, however the
scripts.
Ori
- Original Message -
From: Ilia A. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 31, 2002 12:47 PM
Subject: [PHP-DEV] [PATCH] ereg to pcre conversion
Currently PHP ships with two regular expression libraries that are both
installed by default, PCRE regex
PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 31, 2002 12:47 PM
Subject: [PHP-DEV] [PATCH] ereg to pcre conversion
Currently PHP ships with two regular expression libraries that are both
installed by default, PCRE regex. The regex library that is responsible
for
ereg_
11 matches
Mail list logo