> > Is a '.' inside of a [] a literal '.', or a 'any character'
> metacharacter.
In what regex syntax? In POSIX (ereg_*) and in PCRE (preg_*):
[.] //match a period
\. //match a period
. //match one instance of any character (which could be a period)
[[.foo.]] //match string "foo" (in POSIX, anyway; I'm not sure about PCRE)
--
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]