From cee1fd6ee17284081ce7f1f6daae424c9a8d737e Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Tue, 29 Sep 2009 08:37:48 +0000 Subject: inline isar-long-id-stuff --- isar/isar-unicode-tokens.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'isar/isar-unicode-tokens.el') 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]+> "\\|[^\\]" "\\)")) -- cgit v1.2.3