Make sure ReferenceErrors aren't thrown when areRegexesEqual is called within deepEqual