[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master bb3d13a: ; * lisp/emacs-lisp/shortdoc.el (regexp): less contrived
From: |
Mattias Engdeg�rd |
Subject: |
master bb3d13a: ; * lisp/emacs-lisp/shortdoc.el (regexp): less contrived rx example |
Date: |
Wed, 28 Oct 2020 10:06:54 -0400 (EDT) |
branch: master
commit bb3d13ac3586d3577605d3d8809d31c62a267c99
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
; * lisp/emacs-lisp/shortdoc.el (regexp): less contrived rx example
---
lisp/emacs-lisp/shortdoc.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el
index 1231e79..59c8c77 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master bb3d13a: ; * lisp/emacs-lisp/shortdoc.el (regexp): less contrived rx example,
Mattias Engdeg�rd <=