From 361326e65c311832a9232e813bb66697d6b9fbc0 Mon Sep 17 00:00:00 2001 From: Andriy Date: Thu, 6 Mar 2025 09:39:54 -0500 Subject: [PATCH] fixed grammar to permit var-length nonnum chains --- src/nyx/strpat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nyx/strpat.cpp b/src/nyx/strpat.cpp index c2626f49..d37e5331 100644 --- a/src/nyx/strpat.cpp +++ b/src/nyx/strpat.cpp @@ -223,7 +223,7 @@ bool StringPattern::tokenize ( std::vector> v { { "[0-9]+" , t_NUM } , - { "[a-z]+|[A-Z]+" , t_TEXT }, + { "[a-z|A-Z]+" , t_TEXT }, { "~|`|!|@|#|\\$|%|\\^|&|\\(|\\)|_|-|\\+|=|\\{|\\}|\\[|]|'|;|,|\\.", t_SEP }, { "\\*", t_STAR } };