kael has asked for the wisdom of the Perl Monks concerning the following question:
This is with the Term::ANSIColor module...$prompt=color("blue").": ".color("reset"); unless ($line=~/\r\n$prompt$/){ $line.="\r\n$prompt"; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Reg exp with ansi
by chipmunk (Parson) on Jan 08, 2001 at 23:41 UTC |