diff options
| author | Mattias EngdegÄrd | 2024-09-09 15:18:36 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2024-09-09 15:22:32 +0200 |
| commit | f47297782bdb5e5a07e02f119c8013d11f7d7fae (patch) | |
| tree | 8fbe3f56251506916c913f90df98b1aad3045ba6 | |
| parent | 03e56981675c9533f844257bc7f0bc5603bb58fa (diff) | |
| download | emacs-f47297782bdb5e5a07e02f119c8013d11f7d7fae.tar.gz emacs-f47297782bdb5e5a07e02f119c8013d11f7d7fae.zip | |
; * doc/lispref/searching.texi (Rx Notation): Simplify rx example
| -rw-r--r-- | doc/lispref/searching.texi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 7b4a9100e77..4691a6557e8 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi | |||
| @@ -1028,13 +1028,13 @@ programming language: | |||
| 1028 | 1028 | ||
| 1029 | @example | 1029 | @example |
| 1030 | @group | 1030 | @group |
| 1031 | (rx "/*" ; Initial /* | 1031 | (rx "/*" ; Initial /* |
| 1032 | (zero-or-more | 1032 | (zero-or-more |
| 1033 | (or (not (any "*")) ; Either non-*, | 1033 | (or (not "*") ; Either non-*, |
| 1034 | (seq "*" ; or * followed by | 1034 | (seq "*" ; or * followed by |
| 1035 | (not (any "/"))))) ; non-/ | 1035 | (not "/")))) ; non-/ |
| 1036 | (one-or-more "*") ; At least one star, | 1036 | (one-or-more "*") ; At least one star, |
| 1037 | "/") ; and the final / | 1037 | "/") ; and the final / |
| 1038 | @end group | 1038 | @end group |
| 1039 | @end example | 1039 | @end example |
| 1040 | 1040 | ||