Another Regex Question (General)
| From: | Martin Clifford | Date: | Wed, 03 Jul 2002 16:00:50 +0000 |
| Subject: | Another Regex Question (General) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105229@lists.php.net to get a copy of this message | ||
This may sound like a stupid question, but... within a regular expression, are the values in
brackets evaluated consecutively, or no? For example:
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?
Elementry, my dear newbie. Hehe. Thanks all!
Martin