note 49578 added to reference.pcre.pattern.syntax
| From: | wjyong at sh163 dot net | Date: | Wed, 02 Feb 2005 05:25:17 +0000 |
| Subject: | note 49578 added to reference.pcre.pattern.syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84355@lists.php.net to get a copy of this message | ||
The dot (.) will match all the characters except newline.It will mislead us to use /[.\n]/ to
matches any character.In fact, the dot (.) is just used as a dot character between square brackets,
without matching any other character.
----
Manual Page -- http://www.php.net/manual/en/reference.pcre.pattern.syntax.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49578
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49578&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49578&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49578&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49578&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49578&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49578&report=yes
Search -- http://master.php.net/manage/user-notes.php