Re: RFC 110 (v3) counting matches

2000-08-31 Thread Mark-Jason Dominus
(mystery: how can filling in $ be a lot slower than filling in $1?) It isn't. It's the same. $1 might even be more expensive than $. It appears that many people don't understand the problem with $. I will try to explain. Maintaining the information required by $1 or $ slows down the

Re: RFC 110 (v3) counting matches

2000-08-31 Thread Joe McMahon
Jonathan Scott Duff wrote: How about something like this? $re = qr/(\d\d)-(\d\d)-(\d\d)/g; $re-onmatch_callback(push @list, makedate(^0,^1,^2)); $string =~ $re; It's not bad, but it loses one thing that I was trying to keep from the SNOBOL model. If you have (again,

Re: RFC 72 (v2) The regexp engine should go backward as well as forward.

2000-08-31 Thread Mike Mulligan
From: "Peter Heslin" [EMAIL PROTECTED] Sent: Thursday, August 31, 2000 10:51 PM I would propose that your version of the syntax might also function in the middle of a regexp: /GHI(?`=DEF)JKL(?`=^ABC)MNO/ would match the start of the alphabet (fixed-length example used for simplicity). That's