Posted by Johannes Wienke on 03/20/06 23:16
Am 20.03.2006 21:57 schrieb Smiley:
> I'm trying to write some code that checks my input for any illegal
> characters. I want to make the dash "-" a legal character, but I can't
> figure out how to do that being as it's always interpreted as a range
> symbol.
\-
But don't use ereg-functions anymore. preg-functions are much faster.
Navigation:
[Reply to this message]
|