Indicate filter has to be a regex expression.

And provide example.

I was trying to pass in a string or a symbol and the resulting error was: 

*** TypeError Exception: type mismatch: String given

This should help limit that confusion.