Skip to content

Commit

Permalink
fix test for upcoming pcre2 10.33
Browse files Browse the repository at this point in the history
"group name ..." => "subpattern name ..."
  • Loading branch information
remicollet committed Mar 19, 2019
1 parent 661bce4 commit c421d9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/pcre/tests/bug37911.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion ext/pcre/tests/match_flags3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit c421d9a

Please sign in to comment.