Simplify rx example in manual
* doc/lispref/searching.texi (Rx Notation): Use the 'not' shorthand introduced in Emacs 27.
This commit is contained in:
@@ -1021,8 +1021,8 @@ or, using shorter synonyms and written more compactly,
|
||||
@example
|
||||
@group
|
||||
(rx "/*"
|
||||
(* (| (not (any "*"))
|
||||
(: "*" (not (any "/")))))
|
||||
(* (| (not "*")
|
||||
(: "*" (not "/"))))
|
||||
(+ "*") "/")
|
||||
@end group
|
||||
@end example
|
||||
|
||||
Reference in New Issue
Block a user