Fix transform regex