# [EMAIL PROTECTED] / 2007-01-15 16:31:32 -0500:
> I have file which I use for validating which includes the following
> function:
>
> function invalidchar($strvalue)
> {
> if(!ereg("^[[:alpha:][:space:]\'-.]*$", $strvalue)) {
That regexp matches if $strvalue consists of zero or more ocurrences
of a letter, a whitespace character, and any character whose numeric
value lies between the numeric values of "'" and "." in your locale.
Zero or more means it also matches an empty string.
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php