Fixes #3622: Add a comparator for not matching a regex