DCPM: splitting on lookaheads - verbose
Matthew Browning
mb at matthewb.org
Fri Oct 31 08:52:04 CST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 31 October 2003 13:37, Steve Marvell wrote:
> [verbose stuff]
...that's fairly verbose! One niggle:
> > sub border;
>
> Pre-declare the subroutine so it doesn't clog the top of my code.
>
This is now unnecessary if you are invoking your subroutine with
parentheses.
> Questions are, of course, always welcome.
>
> PS AFAIK zero-width stuff is a Perl extension to regular expressions,
> though it may have been stolen by other languages.
I've flicked through a couple of books and it would appear that Python
has comparable features.
- --
http://matthewb.org/public_key.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/oncUy5o0lRFL2ooRAoV5AJ4pscwvE83ZCZRiNSLi0FK02SP6PQCgwEbA
Br9z4eak9nbJ1axA/v4h3jA=
=4mRz
-----END PGP SIGNATURE-----
More information about the Devoncornwall-pm
mailing list