From c421d9afeca772968e185092950b70fdcd98f1e6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 19 Mar 2019 16:15:14 +0100 Subject: [PATCH] fix test for upcoming pcre2 10.33 "group name ..." => "subpattern name ..." --- ext/pcre/tests/bug37911.phpt | 2 +- ext/pcre/tests/match_flags3.phpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/pcre/tests/bug37911.phpt b/ext/pcre/tests/bug37911.phpt index 2b7481a464..4f3cb3574d 100644 --- a/ext/pcre/tests/bug37911.phpt +++ b/ext/pcre/tests/bug37911.phpt @@ -37,5 +37,5 @@ array(3) { string(4) "blub" } -Warning: preg_replace_callback(): Compilation failed: group name must start with a non-digit at offset %d in %sbug37911.php on line %d +Warning: preg_replace_callback(): Compilation failed: %s name must start with a non-digit at offset %d in %sbug37911.php on line %d NULL diff --git a/ext/pcre/tests/match_flags3.phpt b/ext/pcre/tests/match_flags3.phpt index 695f0c1e81..6511c715e1 100644 --- a/ext/pcre/tests/match_flags3.phpt +++ b/ext/pcre/tests/match_flags3.phpt @@ -41,5 +41,5 @@ array(1) { } } -Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset %d in %smatch_flags3.php on line %d +Warning: preg_match(): Compilation failed: %s name must start with a non-digit at offset %d in %smatch_flags3.php on line %d bool(false) -- 2.50.1