From 9dd1ca3768731d98e07f1d0f58ddfe7527bd6e6f Mon Sep 17 00:00:00 2001 From: Peter Cowburn Date: Fri, 12 Jun 2009 13:09:39 +0000 Subject: [PATCH] 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 --- reference/pcre/book.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/pcre/book.xml b/reference/pcre/book.xml index e07522cf38..1368f4f91f 100644 --- a/reference/pcre/book.xml +++ b/reference/pcre/book.xml @@ -1,5 +1,5 @@ - + @@ -12,8 +12,8 @@ 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 <>