Simplify rx example in manual

* doc/lispref/searching.texi (Rx Notation):
Use the 'not' shorthand introduced in Emacs 27.
This commit is contained in:
Mattias Engdegård 2020-03-09 12:13:45 +01:00
parent a695189248
commit 0883c800a0

View file

@ -1021,8 +1021,8 @@ or, using shorter synonyms and written more compactly,
@example @example
@group @group
(rx "/*" (rx "/*"
(* (| (not (any "*")) (* (| (not "*")
(: "*" (not (any "/"))))) (: "*" (not "/"))))
(+ "*") "/") (+ "*") "/")
@end group @end group
@end example @end example