activate selector when current url matches with regular expression.