fix a regex