On Wednesday, July 3, 2002, at 12:00 PM, Martin Clifford wrote:
> Does [a-zA-Z0-9] (yes, I know [:alnum:] is the same) mean that there > can be a number, but it has to follow a letter? Or would you just do > [a-zA-Z][0-9] to do that? That bracketed construction is called a character class. It represents any *one* of the contained characters. But not more than one. So there is no following at all, since for all intents and purposes the character class matches a single character (unless you use a qualifier like +, ?, or *). 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