I took a very quick look at the source code and you are correct. It just does a simple string comparison, it doesn’t treat it as a regular expression. Could you please report this issue in the issue tracker? In the first instance, the docs should be updated. As for actually making this support regular expressions, that might be tricky because of the need to preserve backward compatible behavior.