aboutsummaryrefslogtreecommitdiffstats
path: root/zencoding-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'zencoding-mode.el')
-rw-r--r--zencoding-mode.el2
1 files changed, 1 insertions, 1 deletions
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