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. --- Doc/Zsh/options.yo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Doc/Zsh/options.yo') 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