Whitespace characters are not allowed as delimiters in PCRE

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282027 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2009-06-12 13:09:39 +00:00
parent c29a3e3692
commit 9dd1ca3768

View file

@ -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 &lt;&gt;