no, at least if you don't hack a Perl using the filesystem instead of RAM and hence running many magnitudes slower.
see also Re: Memory Leak when slurping files in a loop (sliding window explained) showing how a sliding window works.
You'll need a sliding window at least twice as big as the maximal expected match, (which should never be a problem.)
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re: Possible to have regexes act on file directly (not in memory)
by LanX
in thread Possible to have regexes act on file directly (not in memory)
by Nocturnus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |