The null byte is not an acceptable delimiter to PCRE.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282003 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Joey Smith 2009-06-11 23:07:37 +00:00
parent ab7980a757
commit c29a3e3692

View file

@ -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 &lt;&gt; 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 &lt;&gt;
matching delimiters.
See <link linkend="reference.pcre.pattern.syntax">Pattern Syntax</link>
for detailed explanation.
</para>