aboutsummaryrefslogtreecommitdiff
path: root/isar
diff options
context:
space:
mode:
authorStefan Berghofer2003-09-05 13:09:07 +0000
committerStefan Berghofer2003-09-05 13:09:07 +0000
commitf1ab63bbdff4b9a0f033deb67abd6ba148b4d09c (patch)
tree494cfe579ec985dd87407c6e97724dad179dbf85 /isar
parente16c79d80800f426fb0a45cf5a7aad354d4e2077 (diff)
Yet another fix from Sebastian Skalberg.
Diffstat (limited to 'isar')
-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 "\"\\(?:\\(?:[^\"]\\|\\\\\"\\)*\\)\"")