cvs: phpdoc /en/reference/pcre book.xml
| From: | Joey Smith | Date: | Thu, 11 Jun 2009 23:07:37 +0000 |
| Subject: | cvs: phpdoc /en/reference/pcre book.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4139@lists.php.net to get a copy of this message | ||
joey Thu Jun 11 23:07:37 2009 UTC
Modified files:
/phpdoc/en/reference/pcre book.xml
Log:
The null byte is not an acceptable delimiter to PCRE.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/book.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/pcre/book.xml
diff -u phpdoc/en/reference/pcre/book.xml:1.6 phpdoc/en/reference/pcre/book.xml:1.7
--- phpdoc/en/reference/pcre/book.xml:1.6 Wed Nov 5 16:22:25 2008
+++ phpdoc/en/reference/pcre/book.xml Thu Jun 11 23:07:37 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- Purpose: basic.text -->
<!-- Membership: bundled -->
@@ -13,10 +13,11 @@
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 or backslash (\). 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 <> matching delimiters.
+ delimiter as long as it's not alphanumeric, backslash (\), or 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 <>
+ matching delimiters.
See <link linkend="reference.pcre.pattern.syntax">Pattern Syntax</link>
for detailed explanation.
</para>