From bf7e274c416768df45c80e2dd7a24358b2a85233 Mon Sep 17 00:00:00 2001 From: Martin Samesch Date: Mon, 5 Feb 2007 09:53:42 +0000 Subject: [PATCH] typo (wrong function) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229026 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pcre/functions/preg-match.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/pcre/functions/preg-match.xml b/reference/pcre/functions/preg-match.xml index 1908338767..136d252256 100644 --- a/reference/pcre/functions/preg-match.xml +++ b/reference/pcre/functions/preg-match.xml @@ -1,5 +1,5 @@ - + preg_match @@ -88,7 +88,7 @@ Using offset is not equivalent to passing substr($subject, $offset) to - preg_match_all in place of the subject string, + preg_match in place of the subject string, because pattern can contain assertions such as ^, $ or (?<=x). Compare: