in reply to reg ex help

I think it's possible something like this:
.... if(/^\d{4}: (\w\w ){13}(\w\w)(.*)$/) { # $_ of course my $number14 = $2; ....... }

Replies are listed 'Best First'.
Re: Re: reg ex help
by markd (Acolyte) on Apr 16, 2004 at 12:14 UTC
    actually is it possible to do the regex in one line? Then it would be possible to put it into:
    $session->expect(30, '-re', qr'REGEX');