cvs: phpdoc /en/reference/pcre book.xml
| From: | Peter Cowburn | Date: | Fri, 12 Jun 2009 13:09:39 +0000 |
| Subject: | cvs: phpdoc /en/reference/pcre book.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4140@lists.php.net to get a copy of this message | ||
salathe Fri Jun 12 13:09:39 2009 UTC
Modified files:
/phpdoc/en/reference/pcre book.xml
Log:
Whitespace characters are not allowed as delimiters in PCRE
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/book.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/pcre/book.xml
diff -u phpdoc/en/reference/pcre/book.xml:1.7 phpdoc/en/reference/pcre/book.xml:1.8
--- phpdoc/en/reference/pcre/book.xml:1.7 Thu Jun 11 23:07:37 2009
+++ phpdoc/en/reference/pcre/book.xml Fri Jun 12 13:09:39 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- Purpose: basic.text -->
<!-- Membership: bundled -->
@@ -12,8 +12,8 @@
<para>
The syntax for patterns used in these functions closely resembles
Perl. The expression must be enclosed in the delimiters, a
- forward slash (/), for example. Any character can be used for
- delimiter as long as it's not alphanumeric, backslash (\), or the
+ forward slash (/), for example. Delimiters can be any
+ non-alphanumeric, non-whitespace ASCII character except the backslash (\) and the
null byte. If the delimiter character has to be used in the
expression itself, it needs to be escaped by backslash. Since PHP
4.0.4, you can also use Perl-style (), {}, [], and <>