|
Posted by John Dunlop on 09/18/05 12:02
news@celticbear.com wrote:
> if(eregi("^[a-z0-9 _.-\\'\,]+$", $value))
The hyphen is a meta character here, forming part of a character
range. To be taken literally it must go first or last in the class,
or after the first endpoint in a range.
--
Jock
Navigation:
[Reply to this message]
|