in reply to Re^3: regex for perl script
in thread regex for perl script

I was done reading at "dude."


Dave

Replies are listed 'Best First'.
Re^5: regex for perl script
by Anonymous Monk on May 16, 2011 at 18:14 UTC
    I've got it working with this regex format: $pat = '^(\d\d\d\d-\d+-\d+ \d+:\d+:\d+) (?:imap|pop3)-login: Info: ' . 'Login: .*? (?:\[|rip=):f*(\d+\.\d+\.\d+\.\d+)[],]'; Thank you.