Generalized filters
Add specs for regexp filters