Date: 10/26/99
- Next message: Kristian Köhntopp: "Re: [PHPLIB-DEV] no_next_fetch in db_oracle.inc"
- Previous message: Edmund: "[PHPLIB-DEV] Re: [PHPLIB] PHPLIB-7.2 released"
- In reply to: ak <email protected>: "[PHPLIB-DEV] oohforms bad escape sequence"
- Next in thread: Kristian Köhntopp: "Re: [PHPLIB-DEV] oohforms bad escape sequence"
- Reply: Kristian Köhntopp: "Re: [PHPLIB-DEV] oohforms bad escape sequence"
- Reply: ak <email protected>: "Re: [PHPLIB-DEV] oohforms bad escape sequence"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Oct 26, 1999 at 11:56:25AM +0200, ak <email protected> wrote:
> if (ereg("([a-zA-Z_]+)[([0-9]+)]", $el["name"], $regs)) {
>
> because [ and ] need no escape.
[ and ] do need escape in regex when they are intended to be matched
literally. PHP3 manual is not too clear on this issue, and at the moment
I don't have the time to go through php3 sources.
Kris?
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 |
-------------------------------------------------------------------------------
Victory or defeat!
-
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.
- Next message: Kristian Köhntopp: "Re: [PHPLIB-DEV] no_next_fetch in db_oracle.inc"
- Previous message: Edmund: "[PHPLIB-DEV] Re: [PHPLIB] PHPLIB-7.2 released"
- In reply to: ak <email protected>: "[PHPLIB-DEV] oohforms bad escape sequence"
- Next in thread: Kristian Köhntopp: "Re: [PHPLIB-DEV] oohforms bad escape sequence"
- Reply: Kristian Köhntopp: "Re: [PHPLIB-DEV] oohforms bad escape sequence"
- Reply: ak <email protected>: "Re: [PHPLIB-DEV] oohforms bad escape sequence"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

