Fix megastek regular expression