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
In reply to Re: Help with Regex
by merlyn
in thread Help with Regex
by dru145
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |