diff options
author | Makarius Wenzel <makarius@sketis.net> | 2008-07-09 15:07:43 +0000 |
---|---|---|
committer | Makarius Wenzel <makarius@sketis.net> | 2008-07-09 15:07:43 +0000 |
commit | 430ca22c74919524a4c8c7f6301e6539fb571b0b (patch) | |
tree | dddd6869caec560c545af797d836b692243ac6ef /isar/isar-unicode-tokens.el | |
parent | f972a399c24c65bd12556dfa728453c8e8ec4eed (diff) |
more precise regexps isar-token-match, isar-control-token-match;
Diffstat (limited to 'isar/isar-unicode-tokens.el')
-rw-r--r-- | isar/isar-unicode-tokens.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isar/isar-unicode-tokens.el b/isar/isar-unicode-tokens.el index 22a02e89..fa162330 100644 --- a/isar/isar-unicode-tokens.el +++ b/isar/isar-unicode-tokens.el @@ -15,8 +15,8 @@ (defconst isar-charref-format "\\<#x%x>") (defconst isar-token-prefix "\\<") (defconst isar-token-suffix ">") -(defconst isar-token-match "\\\\<\\([a-zA-Z0-9]+\\)") -(defconst isar-control-token-match "\\\\<^\\([a-zA-Z0-9]+\\)>") +(defconst isar-token-match "\\\\<\\([a-zA-Z][a-zA-Z0-9_']+\\)>") +(defconst isar-control-token-match "\\\\<^\\([a-zA-Z][a-zA-Z0-9_']+\\)>") (defconst isar-control-token-format "\\<^%s>") (defconst isar-hexcode-match "\\\\<\\(#[xX][0-9A-Fa-f]+\\)") (defconst isar-next-character-regexp "\\\\<#[xX][0-9A-Fa-f]+>\\|.") |