Re: [PHPLIB-DEV] oohforms bad escape sequence From: Massimiliano Masserelli (negro <email protected>)
Date: 10/26/99

On Tue, Oct 26, 1999 at 01:04:52PM +0200, Kristian Köhntopp wrote:

> We try to match anything that looks like "$foo[9]", so the \[ \]
> are correct for literal matches of brackets. Do not change this.
> The same is true in oohforms.inc:263.

Pay attention: the brackets need to be escaped for the regexp core, not
for the php3 string core. I'm not sure if this should be '\[' or '\\['.

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       |
-------------------------------------------------------------------------------
Una donna ha bisogno di un uomo come un pesce di una bicicletta.
        -- slogan femminista, anni Settanta.
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.