summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2017-04-03 11:26:11 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2017-04-05 13:15:37 +0000
commitce7a98fc05c6cb8ff944ccdc5c82d84592b00ed6 (patch)
treea435ab5d052e17c59905ce739fb3a8d013660a0c
parent8b5102ccf5f5b240ab35646c2d72a22c32c4b916 (diff)
downloadzsh-ce7a98fc05c6cb8ff944ccdc5c82d84592b00ed6.tar.gz
zsh-ce7a98fc05c6cb8ff944ccdc5c82d84592b00ed6.zip
users/22653: options.yo: Clarify REMATCH_PCRE semantics.
Presently, if the option is set but the module is unavailable, using '=~' sets errflag.
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/options.yo3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8543555b8..30c0e5f76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-04-05 Daniel Shahaf <d.s@daniel.shahaf.name>
+
+ * users/22653: Doc/Zsh/options.yo: Clarify REMATCH_PCRE
+ semantics.
+
2017-04-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 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.
)