From: Mattias EngdegÄrd Date: Mon, 9 Sep 2024 13:18:36 +0000 (+0200) Subject: ; * doc/lispref/searching.texi (Rx Notation): Simplify rx example X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=00677f4f19df106a2f8cf5bdccae0975c0896134;p=emacs.git ; * doc/lispref/searching.texi (Rx Notation): Simplify rx example (cherry picked from commit f47297782bdb5e5a07e02f119c8013d11f7d7fae) --- 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: @example @group -(rx "/*" ; Initial /* +(rx "/*" ; Initial /* (zero-or-more - (or (not (any "*")) ; Either non-*, - (seq "*" ; or * followed by - (not (any "/"))))) ; non-/ - (one-or-more "*") ; At least one star, - "/") ; and the final / + (or (not "*") ; Either non-*, + (seq "*" ; or * followed by + (not "/")))) ; non-/ + (one-or-more "*") ; At least one star, + "/") ; and the final / @end group @end example