about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Doc/Zsh/expn.yo6
-rw-r--r--Doc/Zsh/params.yo16
3 files changed, 28 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d33c4d90..aba6c0aa8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-03  Peter Stephenson  <pws@csr.com>
+
+	* unposted, see 30465: Doc/Zsh/expn.yo, Doc/Zsh/params.yo: add
+	index entries and cross-references for matching parameters.
+
 2012-05-02  Mikael Magnusson  <mikachu@gmail.com>
 
 	* 30461, 30462 (tweaked): Functions/Prompts/promptinit,
@@ -16271,5 +16276,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5647 $
+* $Revision: 1.5648 $
 *****************************************************
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index dbbdc5073..8afd92532 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -1967,6 +1967,9 @@ item(tt(I))(
 Case sensitive:  locally negates the effect of tt(i) or tt(l) from
 that point on.
 )
+vindex(match)
+vindex(mbegin)
+vindex(mend)
 item(tt(b))(
 Activate backreferences for parenthesised groups in the pattern;
 this does not work in filename generation.  When a pattern with a set of
@@ -2035,6 +2038,9 @@ matches; tt(LPAR()#c,)var(M)tt(RPAR()) is equivalent to specifying var(N)
 as 0; tt(LPAR()#c)var(N)tt(,RPAR()) specifies that there is no maximum
 limit on the number of matches.
 )
+vindex(MATCH)
+vindex(MBEGIN)
+vindex(MEND)
 item(tt(m))(
 Set references to the match data for the entire string matched; this is
 similar to backreferencing and does not work in filename generation.  The
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 61df66779..f6a109007 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -1103,6 +1103,22 @@ whose value is not used by the shell.  The tt(manpath)
 array can be useful, however, since setting it also sets
 tt(MANPATH), and vice versa.
 )
+xitem(tt(match))
+xitem(tt(mbegin))
+item(tt(mend))(
+Arrays set by the shell when the tt(b) globbing flag is used in pattern
+matches.  See the subsection em(Globbing flags) in
+ifzman(the documentation for em(Filename Generation) in zmanref(zshexpn))\
+ifnzman(noderef(Filename Generation)).
+)
+xitem(tt(MATCH))
+xitem(tt(MBEGIN))
+item(tt(MEND))(
+Set by the shell when the tt(m) globbing flag is used in pattern
+matches.  See the subsection em(Globbing flags) in
+ifzman(the documentation for em(Filename Generation) in zmanref(zshexpn))\
+ifnzman(noderef(Filename Generation)).
+)
 vindex(module_path)
 vindex(MODULE_PATH)
 item(tt(module_path) <S> <Z> (tt(MODULE_PATH) <S>))(