How to efficiently negate a regex pattern - Effect Community