From 3d4c9de975da913fefd2d6f4e5f276ea9e03ed26 Mon Sep 17 00:00:00 2001 From: smihica Date: Sat, 6 Apr 2013 00:16:38 +0900 Subject: Supported a missing pattern like 'prop:${default}'. --- zencoding-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zencoding-mode.el') diff --git a/zencoding-mode.el b/zencoding-mode.el index 4016218..6625032 100644 --- a/zencoding-mode.el +++ b/zencoding-mode.el @@ -1647,7 +1647,7 @@ tbl)) (let ((rt '(concat)) (idx-max 0)) (loop for i from 0 to 255 do (zencoding-aif - (string-match "\\(?:|\\|${\\([0-9]\\)\\(?::\\(.+?\\)\\|\\)}\\)" str) + (string-match "\\(?:|\\|${\\(?:\\([0-9]\\):\\|\\)\\(?:\\(.+?\\)\\|\\)}\\)" str) (destructuring-bind (mat idx def) (mapcar (lambda (ref) (match-string ref str)) '(0 1 2)) (setf rt -- cgit v1.2.3