Ensure that the regular expressions used by the CSSSelector are only compiled once.