Just ran it on my laptop:

p3-450 256MB ram running ubuntu linux with perl: This is perl, v5.8.4 built for i386-linux-thread-multi
and it segfaulted at line 10482:
Number of lines: 10480 Number of lines: 10481 Number of lines: 10482 Segmentation fault

Also ran on one of my desktops: Athlon XP 2400+ w/ 768Mb ram running FC3 with perl: This is perl, v5.8.5 built for i386-linux-thread-multi
and it segfaulted at 10079:
Number of lines: 10077 Number of lines: 10078 Number of lines: 10079 Segmentation fault

And on one of my servers: Dual Athlon MP 2.1 Ghz w/ 2Gb ram running FC3 with perl: This is perl, v5.8.3 built for i386-linux-thread-multi
and it segfaulted at 15120:
Number of lines: 15118 Number of lines: 15119 Number of lines: 15120 Segmentation fault

Note: Multiple runs on different machines produced the same results on each machine (I would hope so!) but I'm wondering what would produce such wildly different results on somewhat similar architectures?

In reply to Re: maximum number of lines for negative lookahead assertion (?!) by hubb0r
in thread maximum number of lines for negative lookahead assertion (?!) by lupey

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.