Is there a reason why you can't use more than one regex to accomplish this? I'm guessing at the exclusion criteria; but you should be able to adapt the approach if there is more to it.
@lines = grep { /\.BO / && ! /CATSETUP|PRODUCT/ } <DATA>;
Somebody more skilled than I will no doubt come up with a single regex solution.
In reply to Re: Regex to match with exclusions
by GotToBTru
in thread Regex to match with exclusions
by fazedandconfused
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |