-fixed incorrect logic with _regExpRestriction flipping when it should have been staying true in some cases