projects
/
riece
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
322c65f
)
(riece-make-interval-regexp): Simplified.
author
Daiki Ueno
<ueno@unixuser.org>
Mon, 27 Oct 2003 12:55:43 +0000
(12:55 +0000)
committer
Daiki Ueno
<ueno@unixuser.org>
Mon, 27 Oct 2003 12:55:43 +0000
(12:55 +0000)
lisp/riece-compat.el
patch
|
blob
|
history
diff --git
a/lisp/riece-compat.el
b/lisp/riece-compat.el
index
25d544e
..
2bc6469
100644
(file)
--- a/
lisp/riece-compat.el
+++ b/
lisp/riece-compat.el
@@
-62,8
+62,8
@@
(if (string-match "0\\{0\\}" "")
(defun riece-make-interval-regexp (regexp min &optional max)
(if max
- (
concat regexp (format "\\{%d,%d\\}" min max)
)
- (
concat regexp (format "\\{%d\\}" min)
)))
+ (
format "%s\\{%d,%d\\}" regexp min max
)
+ (
format "%s\\{%d\\}" regexp min
)))
;; Emacs 20.7 doesn't support \{...\} in regexps.
(defun riece-make-interval-regexp (regexp min &optional max)
(mapconcat #'identity