From ce7a98fc05c6cb8ff944ccdc5c82d84592b00ed6 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Mon, 3 Apr 2017 11:26:11 +0000 Subject: users/22653: options.yo: Clarify REMATCH_PCRE semantics. Presently, if the option is set but the module is unavailable, using '=~' sets errflag. --- ChangeLog | 5 +++++ Doc/Zsh/options.yo | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8543555b8..30c0e5f76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-04-05 Daniel Shahaf + + * users/22653: Doc/Zsh/options.yo: Clarify REMATCH_PCRE + semantics. + 2017-04-04 Peter Stephenson * 40933: Src/exec.c: we need job text in sourced files in case diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 1f8d98b80..cc6ae2a47 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -725,7 +725,8 @@ cindex(regexp, PCRE) cindex(PCRE, regexp) item(tt(REMATCH_PCRE))( If set, regular expression matching with the tt(=~) operator will use -Perl-Compatible Regular Expressions from the PCRE library, if available. +Perl-Compatible Regular Expressions from the PCRE library. +(The tt(zsh/pcre) module must be available.) If not set, regular expressions will use the extended regexp syntax provided by the system libraries. ) -- cgit 1.4.1