about summary refs log tree commit diff
path: root/Doc/Zsh/cond.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-01-15 09:49:06 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-01-15 09:49:06 +0000
commit3af9307d1428a20718e8a0ace3242c5d2dd0a43b (patch)
tree9d7a4aead4364e2aeeeefa470100591c6566c24c /Doc/Zsh/cond.yo
parent1f15613899dc28150911da2dba7758b262644468 (diff)
downloadzsh-3af9307d1428a20718e8a0ace3242c5d2dd0a43b.tar.gz
zsh-3af9307d1428a20718e8a0ace3242c5d2dd0a43b.tar.xz
zsh-3af9307d1428a20718e8a0ace3242c5d2dd0a43b.zip
Phil Pennock: 26312: Document no variables altered on failed match
Diffstat (limited to 'Doc/Zsh/cond.yo')
-rw-r--r--Doc/Zsh/cond.yo2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/Zsh/cond.yo b/Doc/Zsh/cond.yo
index 1a4d5a71c..9d8f145f8 100644
--- a/Doc/Zsh/cond.yo
+++ b/Doc/Zsh/cond.yo
@@ -115,6 +115,8 @@ var(regexp).  If the option tt(RE_MATCH_PCRE) is set
 var(regexp) is tested as a PCRE regular expression using
 the tt(zsh/pcre) module, else it is tested as a POSIX
 extended regular expression using the tt(zsh/regex) module.
+Upon successful match, some variables will be updated; no variables
+are changed if the matching fails.
 If the option tt(BASH_REMATCH) is set the array
 tt(BASH_REMATCH) is set to the substring that matched the pattern
 followed by the substrings that matched parenthesised