previously forgot to compile remove_not_matching into a regexp (fixes #1)