in reply to Help with Regex

you need parens around the last bit...
m/(\w+\.(2048|512)).*(renewed|revoked)/
otherwise I belive you are matching just the word revoked in a revoked line...

                - Ant
                - Some of my best work - Fish Dinner

Replies are listed 'Best First'.
Re: Re: Help with Regex
by dru145 (Friar) on Sep 21, 2001 at 22:59 UTC
    Thanks guys, That was it! I didn't even think to look at that part of the pattern.

    -Dru (Another satisfied monk)