Fix `_isIgnored` RegExp test.