test: remove needless RegExp flags
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test
-
/m
is needless if^
and$
are not used -
/g
is needless insplit()
-
/g
is needless intest()
with one-timeRegExp
/String