[prev in list] [next in list] [prev in thread] [next in thread]
List: phplib-dev
Subject: Re: [PHPLIB-DEV] oohforms bad escape sequence
From: Massimiliano Masserelli <negro () sgabanaz ! interim ! it>
Date: 1999-10-26 12:53:28
[Download RAW message or body]
On Tue, Oct 26, 1999 at 01:55:00PM +0200, ak@ebox.de wrote:
AK> Looks like the error reporting code of php needs a fix.
Inspired by your test, I tried this one:
printf ("%s<br>\n", ereg_replace("[a]", "gotcha!", "[a] test"));
printf ("%s<br>\n", ereg_replace("\[a\]", "gotcha!", "[a] test"));
printf ("%s<br>\n", ereg_replace("\\[a\\]", "gotcha!", "[a] test"));
The second and the third ereg_replace behave the same (gotcha! test),
but the third does not give any warning. I'm going to commit a patch ASAP.
In session.inc, line 265, instead, only one double backslash is needed.
Bye.
--
Massimiliano Masserelli | URL: http://www.interim.it/
Internet Images S.r.l. | Tel: +39-051-3390671
vicolo Viazzolo, 3 | Fax: +39-051-557890
40124 - Bologna - Italy |
-------------------------------------------------------------------------------
Morire per delle idee, d'accordo, ma di morte lenta.
-- Georges Brassens
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev@lists.netuse.de>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request@lists.netuse.de> in
the body, not the subject, of your message.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic