From 0c6d599ec12cfdb9448016ccf82967fcf4c68e9f Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 7 Feb 1999 13:16:37 +0000 Subject: Add support for \S0-type keywords [originally from svn r26] --- misc/buttress.sl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/buttress.sl b/misc/buttress.sl index 68f08af..13efc03 100644 --- a/misc/buttress.sl +++ b/misc/buttress.sl @@ -14,7 +14,7 @@ set_syntax_flags ($1, 8); define_highlight_rule ("\\\\#.*$", "comment", $1); define_highlight_rule ("^\\\\c([ \t].*)?$", "string", $1); define_highlight_rule ("\\\\[\\\\{}]", "keyword0", $1); -define_highlight_rule ("\\\\[A-Za-tv-z][A-Za-z]*", "keyword0", $1); +define_highlight_rule ("\\\\[A-Za-tv-z][A-Za-z0-9]*", "keyword0", $1); define_highlight_rule ("\\\\u[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]", "keyword0", $1); define_highlight_rule ("\\\\u[A-Fa-f0-9]?[A-Fa-f0-9]?[A-Fa-f0-9]?[A-Fa-f0-9]", -- cgit v1.1