Fixed regexp to honor jslints rules regarding negating patterns