Variable constituents set updated

This commit is contained in:
Андреев Григорий 2024-08-05 00:32:38 +03:00
parent 807d311c15
commit e3ae909253

View File

@ -36,7 +36,7 @@ namespace regexis024 {
} }
bool is_REGEX024_nameConstituent(int32_t ch) { 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) { std::string tryRead_REGEX024_name(REGEX_IS024_MeaningContext &ctx) {