[Purdue-pm] regex and code
Joe Kline
gizmo at purdue.edu
Wed Jan 21 14:40:35 PST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It looks you can stick "random" code in a regex:
http://www.perl.com/doc/manual/html/pod/perlre.html
(?{ code })
I wonder if the named captures in 5.10 can be accessed inside the code?
I'm guessing it probably can.
I haven't done any googling recoding arbitrary code in a regex yet.
joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org
iD8DBQFJd6Rjb0mzA2gRTpkRAhUKAJ4iUzMzE8ekvEJrARMgs+i08AmWUgCfURQo
EO4F7E+qs3h7h52ykjhmjWY=
=qEwB
-----END PGP SIGNATURE-----
More information about the Purdue-pm
mailing list