If you just want to check for the presence of one of a group of IPs it'd be much more efficient to build a hash of the IPs up front, and then parse out the IP from each record and do an exists $wanted{ $curIP } to tell if it's interesting or not.
In reply to Re: Efficient Way to Parse a Large Log File with a Large Regex
by Fletch
in thread Efficient Way to Parse a Large Log File with a Large Regex
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |