diff options
| author | Mattias EngdegÄrd | 2020-03-09 12:13:45 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2020-03-09 16:00:18 +0100 |
| commit | 0883c800a0bfa259aa5ef876722b839a9592dbe0 (patch) | |
| tree | dc079e445a5c3861ba0d6651485e0e1f99f33290 | |
| parent | a695189248504453639209580306ace72475b4a1 (diff) | |
| download | emacs-0883c800a0bfa259aa5ef876722b839a9592dbe0.tar.gz emacs-0883c800a0bfa259aa5ef876722b839a9592dbe0.zip | |
Simplify rx example in manual
* doc/lispref/searching.texi (Rx Notation):
Use the 'not' shorthand introduced in Emacs 27.
| -rw-r--r-- | doc/lispref/searching.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 1a090ebe101..83c154938cd 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi | |||
| @@ -1021,8 +1021,8 @@ or, using shorter synonyms and written more compactly, | |||
| 1021 | @example | 1021 | @example |
| 1022 | @group | 1022 | @group |
| 1023 | (rx "/*" | 1023 | (rx "/*" |
| 1024 | (* (| (not (any "*")) | 1024 | (* (| (not "*") |
| 1025 | (: "*" (not (any "/"))))) | 1025 | (: "*" (not "/")))) |
| 1026 | (+ "*") "/") | 1026 | (+ "*") "/") |
| 1027 | @end group | 1027 | @end group |
| 1028 | @end example | 1028 | @end example |