Fixed a bug in NegExp