[27280] in Perl-Users-Digest
Perl-Users Digest, Issue: 9035 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Mar 9 09:05:34 2006
Date: Thu, 9 Mar 2006 06:05:06 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Thu, 9 Mar 2006 Volume: 10 Number: 9035
Today's topics:
Re: regexp: segmentation fault <tadmc@augustmail.com>
Re: regexp: segmentation fault <rvtol+news@isolution.nl>
Re: regexp: segmentation fault <sm244@kent.ac.uk>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Thu, 9 Mar 2006 06:42:19 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: regexp: segmentation fault
Message-Id: <slrne108lb.33p.tadmc@magna.augustmail.com>
S.Marion <sm244@kent.ac.uk> wrote:
> Any thoughts??
I think you should quote some context in followups like
everyone else does.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Thu, 9 Mar 2006 14:42:44 +0100
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: Re: regexp: segmentation fault
Message-Id: <dupf5u.1g8.1@news.isolution.nl>
S.Marion schreef:
> Any thoughts??
Yes.
--
Affijn, Ruud
"Gewoon is een tijger."
------------------------------
Date: Thu, 09 Mar 2006 13:56:51 +0000
From: "S.Marion" <sm244@kent.ac.uk>
Subject: Re: regexp: segmentation fault
Message-Id: <dupc73$nr3$1@oheron.kent.ac.uk>
Ok, I'll try to simplify the question.
I found the following which I thing is exactly my problem:
"Items governed by * (and *?) are optional not only once, but repeatedly
forever (well, to be pedantic, Perl currently has an internal limit of
32K repeats for parenthetical items)."
basically the file I parse is something like:
bla
2000 lines
what i want: secret
blablabla
10 000 lines (more than 32k)
what i want: secret
I only want to get the "secret" after the "what I want" stuff while
being sure this is below "blablabla" AND NOT below "bla".
So the regexp looks like:
$cmd =~ /blablabla (.*\n)what i want: (.*)/g
PS: I can't really use a /gs modifier due to the complexity of the file
to parse. If I do so, I would end-up with duplicates.
Sebastien
Tad McClellan wrote:
> S.Marion <sm244@kent.ac.uk> wrote:
> I think you should quote some context in followups like
> everyone else does.
>
>
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 9035
***************************************