-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20 Apr 2007, at 18:50, Paul LeoNerd Evans wrote:
I'd appreciate some comments on this; specifically, if this
functionallity would be useful enough to put on CPAN, or if it seems a
quite specialised solution to a specific problem and not worth doing.

I like it. You could extend the syntax to provide for printf() formatting:

  '/photos/album${ALBUM:\d+}/photo${PHOTO:\d+}.jpg'

could optionally be

  '/photos/album${ALBUM:\d+:%04d}/photo${PHOTO:\d+:%04d}.jpg'

to get back strings like

  '/photos/album0123/photo0001.jpg'

- --
Andy Armstrong, hexten.net

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

iD8DBQFGKP6twoknRJZQnCERApU0AJ0ar/eRTfNvuF6IbcHyTzHlUwC30wCfXkdI
VzK3aCUJPw1e2UeJTBCNrRw=
=bEjv
-----END PGP SIGNATURE-----

Reply via email to