Re: regexp question

2004-12-15 Thread eric-amick
> I seem to be missing a piece of the puzzleI want to define a character > class ([]) > with atoms to (not) match involve negative look-ahead assertions.but no > joy. > > I am reading a stream of text that may contain the two segments \\n and \" > > I want to define a regexp that will mat

RE: regexp question

2004-12-15 Thread Christopher Hahn
Production could deal with. Thanks (Mr $) to all! chahn -Original Message- From: $Bill Luebkert [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 7:37 PM To: Christopher Hahn Cc: [EMAIL PROTECTED] Subject: Re: regexp question Christopher Hahn wrote: > $Bill, > > The

Re: regexp question

2004-12-14 Thread $Bill Luebkert
Christopher Hahn wrote: > $Bill, > > The (?: ) construct may be non-capturing, but it does eat text from the > buffer (sic) > > ...and, besides, when I ran it I saw this: > = > 1: asd asdf adf asd \n asd adf > 2: asd asdf adf asd \n asd adf > 3: asd asdf adf

RE: regexp question

2004-12-14 Thread Christopher Hahn
bkert [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 1:41 PM To: Christopher Hahn Cc: [EMAIL PROTECTED] Subject: Re: regexp question Christopher Hahn wrote: > Hey, > > I seem to be missing a piece of the puzzleI want to define a > character class ([]) with atoms

Re: regexp question

2004-12-14 Thread $Bill Luebkert
Christopher Hahn wrote: > Hey, > > I seem to be missing a piece of the puzzleI want to define a character > class ([]) > with atoms to (not) match involve negative look-ahead assertions.but no > joy. > > I am reading a stream of text that may contain the two segments \\n and \" > > I wa

regexp question

2004-12-14 Thread Christopher Hahn
Hey, I seem to be missing a piece of the puzzleI want to define a character class ([]) with atoms to (not) match involve negative look-ahead assertions.but no joy. I am reading a stream of text that may contain the two segments \\n and \" I want to define a regexp that will match up to

Re: RegExp Question

2001-02-05 Thread Philip Newton
John Giordano wrote: > $grep_deferred = system ('findstr DeferredStatus response1'); > > print "$grep_deferred\n\n"; [snip] > $grep_deferred has this in it: > > src="/images/btnstats.gif" width=120 height=40 border=0 alt="Mail > Status"> Are you sure? Try printing out "bloop\nblip\n$grep_defer

Re: RegExp Question

2001-02-04 Thread $Bill Luebkert
John Giordano wrote: > > Hello, > > Could someone please tell me why this: > > ### > $grep_deferred = system ('findstr DeferredStatus response1'); > > print "$grep_deferred\n\n"; > > if ($grep_deferred =~ / > print "It contains } else { > > print "It doesn't contain } > --