diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-07 09:09:03 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-07 09:09:03 -0500 |
commit | 3745eee9b16c1c482b0bc5106d06b857dac41f11 (patch) | |
tree | dba60ed01b4156aff64997ca54b725dc809c4fad /doc | |
parent | b1a26c0178f1857ef4e51d0c4fca06b0f0a1db22 (diff) | |
download | bash-3745eee9b16c1c482b0bc5106d06b857dac41f11.tar.gz |
commit bash-20070606 snapshot
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bash.1 | 2 | ||||
-rw-r--r-- | doc/bashref.texi | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -696,6 +696,8 @@ If the shell option .B nocasematch 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 \fBBASH_REMATCH\fP. The element of \fBBASH_REMATCH\fP with index 0 is the portion of the string 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 |