Skip to content

Commit

Permalink
fixed grammar to permit var-length nonnum chains
Browse files Browse the repository at this point in the history
  • Loading branch information
friskluft committed Mar 6, 2025
1 parent 7701dc5 commit 361326e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nyx/strpat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ bool StringPattern::tokenize (
std::vector<std::pair<std::string, std::string>> v
{
{ "[0-9]+" , t_NUM } ,
{ "[a-z]+|[A-Z]+" , t_TEXT },
{ "[a-z|A-Z]+" , t_TEXT },
{ "~|`|!|@|#|\\$|%|\\^|&|\\(|\\)|_|-|\\+|=|\\{|\\}|\\[|]|'|;|,|\\.", t_SEP },
{ "\\*", t_STAR }
};
Expand Down

0 comments on commit 361326e

Please sign in to comment.