Skip to content

test: remove needless RegExp flags

Checklist
  • make -j4 test (UNIX), or vcbuild 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 in split()
  • /g is needless in test() with one-time RegExp/String

Merge request reports

Loading