summaryrefslogtreecommitdiff
path: root/ext/pcre/tests/preg_replace_edit_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/tests/preg_replace_edit_basic.phpt')
-rw-r--r--ext/pcre/tests/preg_replace_edit_basic.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/tests/preg_replace_edit_basic.phpt b/ext/pcre/tests/preg_replace_edit_basic.phpt
index 556b48b8c1..adcee00d9e 100644
--- a/ext/pcre/tests/preg_replace_edit_basic.phpt
+++ b/ext/pcre/tests/preg_replace_edit_basic.phpt
@@ -29,7 +29,7 @@ var_dump(preg_replace('<(\w)\s*-\s*(\w)>',
var_dump(preg_replace('<(^[a-z]\w+)@(\w+)\.(\w+)\.([a-z]{2,}$)>',
'\\1 at \\2 dot \\3 dot \\4', 'josmessa@uk.ibm.com')); //finds the e-mail address and replaces the @ and . with "at" and "dot" (uses backreferences) ('josmessa at uk dot ibm dot com')
?>
---EXPECTF--
+--EXPECT--
string(54) "123456789 - Hello, world - This is a string."
string(54) "123456789 - Hello, world - This is a string."
string(54) "444444789 - Hello, world - This is a string."