unify regex pattern format
won't run with out this flag