Use strict equality when comparing RegExe strings in equals helper

I understand that this is not following the commit message syntax. So either close this and re-open with proper syntax, or just merge this PR.