[PHPLIB-DEV] oohforms bad escape sequence From: ak <email protected>
Date: 10/26/99

Hi!

Line 244 of oohforms.inc V1.17 reads like this:

if (ereg("([a-zA-Z_]+)\[([0-9]+)\]", $el["name"], $regs)) {

I think it should be

if (ereg("([a-zA-Z_]+)[([0-9]+)]", $el["name"], $regs)) {

because [ and ] need no escape.

Alex

P.S.: Say ok and I will change it in the repository. But maybe it
should be done by the author.

-
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.