Move "private" regexps to prototype