How do I put an escape character (NOT "escaped" character) in a Ruby regex?
Posted
by Amy
on Stack Overflow
See other posts from Stack Overflow
or by Amy
Published on 2010-03-17T18:48:12Z
Indexed on
2010/03/17
18:51 UTC
Read the original article
Hit count: 190
I'm trying to parse a text file that has ANSI color sequences in it, e.g.
\e[0;37m
How can I build a regex to match this in Ruby?
© Stack Overflow or respective owner