diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2022-04-11 00:18:04 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2022-04-11 00:18:04 +0200 |
commit | 31bcc5c263aea983e967426e2b94269e7605dcd4 (patch) | |
tree | 7b48ad9d7799afe09b7d7d8adc980bd5db935bdf /Doc/Zsh/mod_regex.yo | |
parent | 5086b5356abcef8849dc8a09902b7c55f01db3c0 (diff) | |
parent | b09f4483416c54c1782824633dfabaf2ec0265b6 (diff) | |
download | zsh-31bcc5c263aea983e967426e2b94269e7605dcd4.tar.gz zsh-31bcc5c263aea983e967426e2b94269e7605dcd4.zip |
Update upstream source from tag 'upstream/5.8.1.2-test'
Update to upstream version '5.8.1.2-test'
with Debian dir b380d582bf51cd93149e4dea28fffa1ad85db4f5
Diffstat (limited to 'Doc/Zsh/mod_regex.yo')
-rw-r--r-- | Doc/Zsh/mod_regex.yo | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_regex.yo b/Doc/Zsh/mod_regex.yo index f20451664..40ee92785 100644 --- a/Doc/Zsh/mod_regex.yo +++ b/Doc/Zsh/mod_regex.yo @@ -26,5 +26,17 @@ tt(-regex-match) operator. If tt(BASH_REMATCH) is set, then the array tt(BASH_REMATCH) will be set instead of tt(MATCH) and tt(match). + +Note that the tt(zsh/regex) module logic relies on the host system. The +same var(expr) and var(regex) pair could produce different results on different +platforms if a var(regex) with non-standard syntax is given. + +For example, no syntax for matching a word boundary is defined in the POSIX +extended regular expression standard. GNU tt(libc) and BSD tt(libc) both provide +such syntaxes as extensions (tt(\b) and tt([[:<:]])/tt([[:>:]]) respectively), +but neither of these syntaxes is supported by both of these implementations. + +Refer to the manref(regcomp)(3) and manref(re_format)(7) manual pages on your +system for locally-supported syntax. ) enditem() |