Support inverting -G and -g using a leading !.

@mosesn and I wanted this earlier today and it wasn't there and we were sad.