while ($line .= <Stream>) { exit if ( $line =~ m/b\n*l\n*a\n*h/m); } [download]
In reply to Re: Re: Re: Regexing an input stream... by aquarium in thread Regexing an input stream... by sergio