pass regExpOptions