We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62119e5 commit 91ea4daCopy full SHA for 91ea4da
1 file changed
libchecktestdata.cc
@@ -1041,7 +1041,7 @@ void checktoken(const command& cmd)
1041
1042
else if ( cmd.name()=="REGEX" ) {
1043
string str = eval(cmd.args[0]).getstr();
1044
- regex regexstr(str,regex::extended);
+ regex regexstr(str,regex::extended|regex::nosubs|regex::optimize);
1045
smatch res;
1046
string matchstr;
1047
0 commit comments