Re: Module Proposal: Parse::Reversible

2007-04-25 Thread David Nicol

has anyone mentioned xeger yet in this discussion?


Re: Module Proposal: Parse::Reversible

2007-04-25 Thread Paul LeoNerd Evans
On Wed, 25 Apr 2007 13:44:11 -0500
David Nicol [EMAIL PROTECTED] wrote:

 has anyone mentioned xeger yet in this discussion?

Not heard of that, no..

And it's unfortunately a little late now, behold:

  http://search.cpan.org/~pevans/String-MatchInterpolate-0.01/

An initial version :)

I'm still inviting comment on its behaviour though...

-- 
Paul LeoNerd Evans

[EMAIL PROTECTED]
ICQ# 4135350   |  Registered Linux# 179460
http://www.leonerd.org.uk/


signature.asc
Description: PGP signature


Re: Module Proposal: Parse::Reversible

2007-04-25 Thread Andy Armstrong

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 25 Apr 2007, at 21:18, Paul LeoNerd Evans wrote:

I'm still inviting comment on its behaviour though...


I like it. After

This regexp should not contain any capture brackets ( ) as these  
will confuse the parsing logic.


I'd add Instead use non-capturing brackets (?: ) to group subparts  
of the regexp. just to avoid anyone cargo-culting the notion that  
you can't use brackets at all.


- --
Andy Armstrong, hexten.net

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGL8f+woknRJZQnCERAthbAKDNGsQwCcIv2H2qOdu75snV3bYreACglG59
H8XIHuSpLnyTiCKZG1lP4kc=
=H1Md
-END PGP SIGNATURE-