mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-05-19 23:21:25 +02:00
52721: fix metafication and regexp/subject confusion in pcre_match error message
This commit is contained in:
parent
fa9b3ad597
commit
47c7bc9b14
2 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue