aboutsummaryrefslogtreecommitdiffhomepage
path: root/isar/isar-unicode-tokens.el
diff options
context:
space:
mode:
Diffstat (limited to 'isar/isar-unicode-tokens.el')
-rw-r--r--isar/isar-unicode-tokens.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/isar/isar-unicode-tokens.el b/isar/isar-unicode-tokens.el
index 144a8290..300a5f07 100644
--- a/isar/isar-unicode-tokens.el
+++ b/isar/isar-unicode-tokens.el
@@ -46,7 +46,11 @@
(defconst isar-control-char-format-regexp
(concat
"\\(\\\\<\\^%s>\\)\\("
- isar-long-id-stuff ; was: \\\\<[A-Za-z]+>
+ ;; isar-long-id-stuff:
+ "\\(?:"
+ "\\(?:\\\\<\\^?[A-Za-z]+>\\|[A-Za-z0-9'_]\\)"
+ "\\|\\.\\)+"
+ ;; above was simply: \\\\<[A-Za-z]+>
"\\|[^\\]"
"\\)"))