diff options
| author | Miles Bader | 2010-10-07 16:24:21 +0900 |
|---|---|---|
| committer | Miles Bader | 2010-10-07 16:24:21 +0900 |
| commit | 07ff7702e086ca4eb02aadf438c97a9c87c3389d (patch) | |
| tree | cbd1666f876739d276550641ef3aaaaf4e5d95db /doc | |
| parent | 814cc274efc3002fa80122a3f5d55ed7493656c3 (diff) | |
| download | emacs-07ff7702e086ca4eb02aadf438c97a9c87c3389d.tar.gz emacs-07ff7702e086ca4eb02aadf438c97a9c87c3389d.zip | |
(regexp-opt): Add `symbols' mode.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/searching.texi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index b4b4c23b1ed..6cc7d451a6e 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi | |||
| @@ -918,7 +918,11 @@ for Font Lock mode. | |||
| 918 | If the optional argument @var{paren} is non-@code{nil}, then the | 918 | If the optional argument @var{paren} is non-@code{nil}, then the |
| 919 | returned regular expression is always enclosed by at least one | 919 | returned regular expression is always enclosed by at least one |
| 920 | parentheses-grouping construct. If @var{paren} is @code{words}, then | 920 | parentheses-grouping construct. If @var{paren} is @code{words}, then |
| 921 | that construct is additionally surrounded by @samp{\<} and @samp{\>}. | 921 | that construct is additionally surrounded by @samp{\<} and @samp{\>}; |
| 922 | alternatively, if @var{paren} is @code{symbols}, then that construct | ||
| 923 | is additionally surrounded by @samp{\_<} and @samp{\_>} | ||
| 924 | (@code{symbols} is often appropriate when matching | ||
| 925 | programming-language keywords and the like). | ||
| 922 | 926 | ||
| 923 | This simplified definition of @code{regexp-opt} produces a | 927 | This simplified definition of @code{regexp-opt} produces a |
| 924 | regular expression which is equivalent to the actual value | 928 | regular expression which is equivalent to the actual value |