add missing /x to regexes