At 14:11 31-1-2003, you wrote:
So I'm using ereg(pattern, input) to see if the pattern matches or not.
SO for exclusion I build the following pattern [^$] and pass it to ereg
above. So if the input includes a $ the ereg should return false and the
processing shouldn't take place.
Well the thing is for $pattern = '[^$]' it doesn't work. Input including
'$' is still passed to the allowed stuff code block.
I remember something like $ had to be double escaped like \\$
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php