about summary refs log tree commit diff
path: root/Doc/Zsh/mod_pcre.yo
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-07-04 15:13:33 +0000
committerClint Adams <clint@users.sourceforge.net>2001-07-04 15:13:33 +0000
commitb65dcc197bf5e44071f9391a2b45224d2935d571 (patch)
tree9a72575b645bb07f54be32be90b6918035d5a316 /Doc/Zsh/mod_pcre.yo
parentb79484dc40535d7c0f653a6cfb913668c5df609c (diff)
downloadzsh-b65dcc197bf5e44071f9391a2b45224d2935d571.tar.gz
zsh-b65dcc197bf5e44071f9391a2b45224d2935d571.tar.xz
zsh-b65dcc197bf5e44071f9391a2b45224d2935d571.zip
15242: pcre_match -a and $match instead of pparams
Diffstat (limited to 'Doc/Zsh/mod_pcre.yo')
-rw-r--r--Doc/Zsh/mod_pcre.yo7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/Zsh/mod_pcre.yo b/Doc/Zsh/mod_pcre.yo
index 2d9989083..8eadee38b 100644
--- a/Doc/Zsh/mod_pcre.yo
+++ b/Doc/Zsh/mod_pcre.yo
@@ -15,12 +15,13 @@ Studies the previously-compiled PCRE which may result in faster
 matching.
 )
 findex(pcre_match)
-item(tt(pcre_match) var(string))(
+item(tt(pcre_match) [ tt(-a) var(arr) ] var(string))(
 Returns successfully if tt(string) matches the previously-compiled
 PCRE.
 
 If the expression captures substrings within parentheses,
-tt(pcre_match) will set the positional parameters to
-those substrings, starting with $1 for the first.
+tt(pcre_match) will set the array var($match) to those
+substrings, unless the tt(-a) option is given, in which
+case it will set the array var(arr).
 )
 enditem()