aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--isar/isar-syntax.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/isar/isar-syntax.el b/isar/isar-syntax.el
index 6b8f4f30..54e344a8 100644
--- a/isar/isar-syntax.el
+++ b/isar/isar-syntax.el
@@ -191,11 +191,11 @@
; (concat "\\<" s "\\>")))
; l "\\|"))
-(defconst isar-long-id-stuff "\\(?:[A-Za-z0-9'_.]+\\)")
(defconst isar-ext-first "\\(?:\\\\<[A-Za-z]+>\\|[A-Za-z]\\)")
-(defconst isar-ext-rest "\\(?:\\\\<[A-Za-z]+>\\|[A-Za-z0-9'_]\\)*")
+(defconst isar-ext-rest "\\(?:\\\\<[A-Za-z]+>\\|[A-Za-z0-9'_]\\)")
-(defconst isar-id (concat "\\(?:" isar-ext-first isar-ext-rest "\\)"))
+(defconst isar-long-id-stuff (concat "\\(?:" isar-ext-rest "\\|\.\\)+"))
+(defconst isar-id (concat "\\(?:" isar-ext-first isar-ext-rest "*\\)"))
(defconst isar-idx (concat isar-id "\\(?:\\.[0-9]+\\)?"))
(defconst isar-string "\"\\(?:\\(?:[^\"]\\|\\\\\"\\)*\\)\"")