"Paul D. Kraus" wrote:
>
> I am pipeing the input from a linux command (Pal) in color (I can
> disable color but don't want to) to a perl script. I need to use
> a regex that can match a line that looks like this.
>
> ^[[1mWed
>
> If i try and test like this
>
> if ( /\^\[\[1mWed/ )
>
> i
I am pipeing the input from a linux command (Pal) in color (I can disable color but
don't want to) to a perl script. I need to use a regex that can match a line that
looks like this.
^[[1mWed
If i try and test like this
if ( /\^\[\[1mWed/ )
it fails.
Paul D. Kraus
~=~=~=~=~=~=~=~=~=~