Change compile to match in regex