mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
ab7980a757
commit
c29a3e3692
1 changed files with 6 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue