Added the 'regex' selector, and an example.