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

It can't be crashing on line 858 and 1547, your program is only 17 lines long.

But, I know that what you really meant is that the negative lookahead assertion is crashing on line 858 and 1547 of the _input_ file.

So, what's on these lines?

Can you use different (shorter) input with most of the stuff outside of the offending lines cut out, to isolate the problem?

What exactly is the error message it gives you when it crashes?

  • Comment on Re: maximum number of lines for negative lookahead assertion (?!)

Replies are listed 'Best First'.
Re^2: maximum number of lines for negative lookahead assertion (?!)
by ikegami (Patriarch) on May 03, 2005 at 21:30 UTC
    Did you look at his program? It builds the input file that causes the crash.
      I missed that detail.. oops.

      So anyway, I ran the script on my machine.. and no crashes happened.

      Stopped it at about 11,000.

      MacOS 10.3.9, perl 5.8.4, Camelbones Developer pkg installed (which changes the perl config a bit).