I'm confused by your use of (?> ... ) here, aristotle... any chance you could clear it up? (I did read the description in perlre; it didn't help clear things up). Specificly, what does this pattern accomplish that s/\e\[\d+(;\d+)*m//g; doesn't?
In reply to Re: Re: Removing ANSI Color Codes
by theorbtwo
in thread Removing ANSI Color Codes
by narse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |