also fix regexFactory.only