in reply to maximum number of lines for negative lookahead assertion (?!)

I ran your program until 5000 without problem (at which point I killed it).

Win2k, 512MB of RAM, ActivePerl v5.6.1.

I even made sure no line numbers were skipped:

>perl 453725.pl > ! ^C >perl -e "printf """Number of lines: %s\n""", $_ for 2..5000" > @ >fc ! @ Comparing files ! and @ FC: no differences encountered

Replies are listed 'Best First'.
Re^2: maximum number of lines for negative lookahead assertion (?!)
by johnnywang (Priest) on May 03, 2005 at 21:41 UTC
    ha, I'm a little more patient:-), I ran more than 10,000, then killed it, it was going well, uses about 10mb memory: WinXP/Cygwin, 512 Mb, ActivePerl 5.8.3