diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-10-28 15:05:35 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-10-28 15:05:35 +0100 |
commit | bb3d13ac3586d3577605d3d8809d31c62a267c99 (patch) | |
tree | 207daf4144f7c2e3b998abd3f8ffba97e1582775 /lisp/emacs-lisp | |
parent | bd3ecfef8429aaced824286074abc7f77ef0c98f (diff) | |
download | emacs-bb3d13ac3586d3577605d3d8809d31c62a267c99.tar.gz emacs-bb3d13ac3586d3577605d3d8809d31c62a267c99.tar.bz2 emacs-bb3d13ac3586d3577605d3d8809d31c62a267c99.zip |
; * lisp/emacs-lisp/shortdoc.el (regexp): less contrived rx example
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/shortdoc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el index 1231e799edd..59c8c7794cf 100644 --- a/lisp/emacs-lisp/shortdoc.el +++ b/lisp/emacs-lisp/shortdoc.el @@ -665,7 +665,7 @@ There can be any number of :example/:result elements." :eval (regexp-opt-charset '(?a ?b ?c ?d ?e))) "The `rx' Structured Regexp Notation" (rx - :eval (rx bol (| (* "f") (+ "o") (? "o")) (| digit space) (group "bar"))) + :eval (rx "IP=" (+ digit) (= 3 "." (+ digit)))) (rx-to-string :eval (rx-to-string '(| "foo" "bar"))) (rx-define |