Better handling of regex, allowing RegExp objects as well as strings, still need to work on correctly matching strings