note 48695 added to reference.pcre.pattern.syntax
| From: | pilotdoofyatgmaild0tk0m at osu1 dot php dot net | Date: | Wed, 05 Jan 2005 04:33:19 +0000 |
| Subject: | note 48695 added to reference.pcre.pattern.syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-82728@lists.php.net to get a copy of this message | ||
Keep in mind that when using limits whitespace doesn't count. I made this mistake quite often.
Remember the [[:space:]] character set. In example:
$string = "Wow php is really cool";
eregi("[[:alpha:]]{18}", $string); //returns true but
eregi("[[:alpha:]]{22}", $string); // does not return true because the whitespace
doesn't count for matches
----
Manual Page -- http://www.php.net/manual/en/reference.pcre.pattern.syntax.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48695
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48695&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48695&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48695&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48695&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48695&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48695&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48695&report=yes
Search -- http://master.php.net/manage/user-notes.php