Re: [phplib] ooohforms regex question From: Mark Godfrey (mark <email protected>)
Date: 08/10/00

"Matthew R. MacIntyre" wrote:
>
[snip]
> How do I get the "." to be recognized in the regex so that it doesn't cause
> javascript errors and the like?
>

        You have to escape it:
                ^[ 0-9a-z/-\.]*$

        In regex, . matches any one character (more or less).

Regards,

Mark.

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>