Fix moz issue with regex parsing