in reply to Help with Regex
is similar tom/(\w+\.(2048|512)).*renewed|revoked/
because of the precedence of the vertical bar. You want (I think):m/(\w+\.(2048|512)).*renewed/ or m/revoked/
m/(\w+\.(2048|512)).*(renewed|revoked)/
-- Randal L. Schwartz, Perl hacker
|
|---|