Allow slashes in filter regular expressions

User's regular expressions need escaping before passing them to
preg_match()
Merge pull request #167 from KonishchevDmitry/pr-allow-slash-in-filter-regex

Allow slashes in filter regular expressions