Can anyone give me a Regexp to match ANSIcodes.
I’ve tried:
/\e[[0-9]*\w/
And lots of variations there-of.
The problem seems to be that first ‘’ is never in the regexp.
T.
Can anyone give me a Regexp to match ANSIcodes.
I’ve tried:
/\e[[0-9]*\w/
And lots of variations there-of.
The problem seems to be that first ‘’ is never in the regexp.
T.
On Aug 23, 2:08 pm, Trans [email protected] wrote:
Can anyone give me a Regexp to match ANSIcodes.
I’ve tried:
/\e[[0-9]*\w/
And lots of variations there-of.
The problem seems to be that first '' is never in the regexp.
Gad. A soon as I post, I figure out my mistake. I’nt that just the way
of it.
ANSWER:
/\e[[0-9]*\w/
T.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs