Simplify rx example in manual
* doc/lispref/searching.texi (Rx Notation): Use the 'not' shorthand introduced in Emacs 27.
This commit is contained in:
parent
a695189248
commit
0883c800a0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue