code generation for NegExps