On Monday, March 4, 2002, at 10:50 AM, Erik Price wrote:
> I thought that in this example (in this thread) the dot was being used > inside of a character class -- and that it does not need to be escaped > when it is inside of a character class (wouldn't make sense for "match > any character" to exist inside a character class). > > [^A-Za-z0-9\.] > whoops, finished that email too soon. What I was trying to say was that the above regex character class will not be functionally any different from [^A-Za-z0-9.] in theory, because the backslash doesn't really escape the dot (since dots aren't meta-characters in character classes) and the backslash can't represent a backslash without its own escape (it would need to be "\\" to do this). I think. I am not a regex guru, but that's my unrequested contribution to this thread. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php