mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
52721: fix metafication and regexp/subject confusion in pcre_match error message
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2024-03-09 Stephane Chazelas <stephane@chazelas.org>
|
||||
|
||||
* 52721: fix metafication and regexp/subject confusion in
|
||||
pcre_match error message.
|
||||
|
||||
2024-03-08 Stephane Chazelas <stephane@chazelas.org>
|
||||
|
||||
* 52704: Doc/Zsh/params.yo, mention new ${ ... } and ${|...}
|
||||
|
||||
@@ -405,7 +405,7 @@ bin_pcre_match(char *nam, char **args, Options ops, UNUSED(int func))
|
||||
else {
|
||||
PCRE2_UCHAR buffer[256];
|
||||
pcre2_get_error_message(ret, buffer, sizeof(buffer));
|
||||
zwarnnam(nam, "error in pcre matching for /%s/: %s", plaintext, buffer);
|
||||
zwarnnam(nam, "error in pcre matching for %s: %s", *args, buffer);
|
||||
}
|
||||
|
||||
if (pcre_mdata)
|
||||
|
||||
Reference in New Issue
Block a user