From 6b2f8f422098319e6803a41802703720ffb4e347 Mon Sep 17 00:00:00 2001 From: Andrea Greselin Date: Thu, 23 Mar 2023 13:40:37 +0100 Subject: [PATCH] Tokenize names with non-latin characters --- gnuplot-context.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnuplot-context.el b/gnuplot-context.el index 859368f..dfa2019 100644 --- a/gnuplot-context.el +++ b/gnuplot-context.el @@ -296,7 +296,7 @@ name; otherwise continues tokenizing up to the token at point. FIXME." (token (cond ((gnuplot-tokenize-by-regexps - ("[A-Za-z_][A-Za-z0-9_]*" name) + ("[[:alpha:]_][[:alpha:]0-9_]*" name) ("[0-9]+\\(\\.[0-9]*\\)?\\([eE][+-]?[0-9]+\\)?\\|\\.[0-9]+\\([eE][+-]?[0-9]+\\)?" number) (gnuplot-operator-regexp operator) (";" separator)))