Bug #14933: regular expression problem
| From: | rajko at fly dot cc dot fer dot hr | Date: | Tue, 08 Jan 2002 20:13:09 +0000 |
| Subject: | Bug #14933: regular expression problem | ||
| Groups: | php.dev php.doc | ||
| Request: | Send a blank email to php-dev+get-76279@lists.php.net to get a copy of this message | ||
From: rajko@fly.cc.fer.hr
Operating system: Win ME
PHP version: 4.1.1
PHP Bug Type: Documentation problem
Bug description: regular expression problem
Documentation quote:
The character types \d, \D, \s, \S, \w, and \W may also appear
in a character class, and add the characters that they match to the
class.
So, I tried to match "<T>try8" with
"<T>([\da-z]{1,})" and it won't work.
vs
"<T>([\da-z8]{1,})" work. !!
--
Edit bug report at: http://bugs.php.net/?id=14933&edit=1