Use strict equality when comparing RegExe strings in equals helper