[ale] sed question: matching ASCII escape

Kevin Krumwiede kjkrum at comcast.net
Sun Mar 30 23:53:46 EST 2003


I am trying to remove ANSI X3.64 escape sequences from a BBS game log
file.  This regex matches the escape commands:

\[[0-9;]*[a-zA-Z]

...except for the ASCII 'ESC' that precedes a command.  I have tried
prepending \e, \033, and \x1b, but for some reason that doesn't match
the escape characters.

What am I missing?

Krum

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list