ANSICode Regexp?

T

Trans

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.
 
T

Trans

Can anyone give me a Regexp to match ANSIcodes.

I've tried:

=A0 /\\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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,176
Messages
2,570,947
Members
47,498
Latest member
log5Sshell/alfa5

Latest Threads

Top