User:OrenBochman/ParserNG/Sanitizer Antlr

Sanitizer Filter Antlr
"To make ANTLR generate lexers that behave like the UNIX utility sed (copy standard in to standard out except as specified by the replace patterns), use a filter rule that does the input to output copying:" - antlr docs

based on