Allow regular expressions, match exact selector for strings

* This should provide a solution for #1