Prism: Regex gets correct result if a formula is true