From 9240fafbb22e3331c643c31b55ea599fa5ca1053 Mon Sep 17 00:00:00 2001 From: Yoshinari Takaoka Date: Sat, 12 Dec 2020 17:35:43 +0000 Subject: [PATCH] s/regs/matches/g git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352032 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mbstring/functions/mb-ereg.xml | 6 +++--- reference/mbstring/functions/mb-eregi.xml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/reference/mbstring/functions/mb-ereg.xml b/reference/mbstring/functions/mb-ereg.xml index 72da82df68..9fb93dd247 100644 --- a/reference/mbstring/functions/mb-ereg.xml +++ b/reference/mbstring/functions/mb-ereg.xml @@ -51,10 +51,10 @@ array. - $regs[1] will contain the substring which starts at - the first left parenthesis; $regs[2] will contain + $matches[1] will contain the substring which starts at + the first left parenthesis; $matches[2] will contain the substring starting at the second, and so on. - $regs[0] will contain a copy of the complete string + $matches[0] will contain a copy of the complete string matched. diff --git a/reference/mbstring/functions/mb-eregi.xml b/reference/mbstring/functions/mb-eregi.xml index 7218e1edb5..c895c3d7bb 100644 --- a/reference/mbstring/functions/mb-eregi.xml +++ b/reference/mbstring/functions/mb-eregi.xml @@ -51,10 +51,10 @@ array. - $regs[1] will contain the substring which starts at - the first left parenthesis; $regs[2] will contain + $matches[1] will contain the substring which starts at + the first left parenthesis; $matches[2] will contain the substring starting at the second, and so on. - $regs[0] will contain a copy of the complete string + $matches[0] will contain a copy of the complete string matched.