Re: Apoc 5 questions/comments

2002-06-10 Thread Ariel Scolnicov
Damian Conway [EMAIL PROTECTED] outlined his plans for world domination: [...] EvilScientist face=red Dammit, you fools! Do I have to think of *everything*??? Just tie him to a steel bench and apply the Ruby laser! I do apologize, Mr Wardley. Good evil assistants are just impossible to

Re: Apoc 5 questions/comments

2002-06-10 Thread Jonathan Scott Duff
On Sun, Jun 09, 2002 at 03:34:16PM +1000, Damian Conway wrote: Trey Harris wrote: rule val { [ # quoted $b := ['] ( [ \\. | . ]*? ) $b ] | # or not (\H+) } Not quite. Assigning to $b is a capture. I'm confused. The examples in A5 all

Re: Apoc 5 questions/comments

2002-06-10 Thread Dave Storrs
I assume that 'fatal.pm' is a new pragma. 1) What (if anything) does it do, aside from turning 'fail' into a fatal exception when used outside a regex? 2) Do you need to use it before you can (usefully) use 'fail' INSIDE a regex? (I would assume not, but thought I'd check.) Dave On Fri,

Re: Apoc 5 questions/comments

2002-06-10 Thread Larry Wall
On Mon, 10 Jun 2002, Dave Storrs wrote: I assume that 'fatal.pm' is a new pragma. Already exists for Perl 5, actually. 1) What (if anything) does it do, aside from turning 'fail' into a fatal exception when used outside a regex? What fatal currently does is wrap built-ins that might

Re: Apoc 5 questions/comments

2002-06-10 Thread Dave Storrs
On Mon, 10 Jun 2002, Larry Wall wrote: On Mon, 10 Jun 2002, Dave Storrs wrote: I assume that 'fatal.pm' is a new pragma. Already exists for Perl 5, actually. *blush* Must have missed it. Drat, and I just finished rereading Camel III. Apologies. Dave

Re: Apoc 5 questions/comments

2002-06-10 Thread Dave Storrs
On Fri, 7 Jun 2002, Luke Palmer wrote: Dave Storrs wrote: Can we please have a 'reverse x' modifier that means treat whitespace as literals? Yes, we are living in a Unicode world now and your data could /FATAL ERROR\:Process (\d+) received signal\: (\d+)/ I don't see how this

Re: Apoc 5 questions/comments

2002-06-10 Thread Damian Conway
Jonathan Scott Duff wrote: rule val { [ # quoted $b := ['] ( [ \\. | . ]*? ) $b ] | # or not (\H+) } Not quite. Assigning to $b is a capture. I'm confused. The examples in A5 all show $var := (pattern). So are you saying that

A5 - A job well done

2002-06-10 Thread Richard Proctor
Larry, Wow, that was a very good demolition and rebuilding of the regex edifice. When the RFCs were being written I spent many hours thinking over some of the issues and writting many of the RFCs on regexes, trying to build on what was in perl5, without changing the existing language use. By