summaryrefslogtreecommitdiff
path: root/doc/bashref.texi
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-07 09:09:03 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-07 09:09:03 -0500
commit3745eee9b16c1c482b0bc5106d06b857dac41f11 (patch)
treedba60ed01b4156aff64997ca54b725dc809c4fad /doc/bashref.texi
parentb1a26c0178f1857ef4e51d0c4fca06b0f0a1db22 (diff)
downloadbash-3745eee9b16c1c482b0bc5106d06b857dac41f11.tar.gz
commit bash-20070606 snapshot
Diffstat (limited to 'doc/bashref.texi')
-rw-r--r--doc/bashref.texi2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/bashref.texi b/doc/bashref.texi
index 3d301b4a..63dfcee3 100644
--- a/doc/bashref.texi
+++ b/doc/bashref.texi
@@ -974,6 +974,8 @@ If the shell option @code{nocasematch}
(see the description of @code{shopt} in @ref{The Shopt Builtin})
is enabled, the match is performed without regard to the case
of alphabetic characters.
+Any part of the pattern may be quoted to force it to be matched as a
+string.
Substrings matched by parenthesized subexpressions within the regular
expression are saved in the array variable @code{BASH_REMATCH}.
The element of @code{BASH_REMATCH} with index 0 is the portion of the string