From e3ae909253e4557633202e505169f7cafd4f02f1 Mon Sep 17 00:00:00 2001 From: Andreev Gregory Date: Mon, 5 Aug 2024 00:32:38 +0300 Subject: [PATCH] Variable constituents set updated --- src/libregexis024sol/sol_misc_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libregexis024sol/sol_misc_base.cpp b/src/libregexis024sol/sol_misc_base.cpp index b0e85c4..54f91dc 100644 --- a/src/libregexis024sol/sol_misc_base.cpp +++ b/src/libregexis024sol/sol_misc_base.cpp @@ -36,7 +36,7 @@ namespace regexis024 { } bool is_REGEX024_nameConstituent(int32_t ch) { - return ('0' <= ch && ch <= '9') || ('a' <= ch && ch <= 'z') || ('A' <= ch && ch <= 'Z'); + return ('0' <= ch && ch <= '9') || ('a' <= ch && ch <= 'z') || ('A' <= ch && ch <= 'Z') || ch == '_'; } std::string tryRead_REGEX024_name(REGEX_IS024_MeaningContext &ctx) {