SPUG:Question from Damian's talk on embedded code in regex

SPUG-list-owner tim at consultix-inc.com
Fri Jan 17 16:16:09 CST 2003


On Fri, Jan 17, 2003 at 10:17:52AM -0800, Chris Wilkes wrote:
> Having not looked into embedding code into regex before Damian's talk on
> Thursday I tried poking around and looking for docs on it, mainly
> going off of perlretut's perldoc page.

I wasn't there, but I'm guessing you're talking about the
	MATCH-ME(?{code executed on match goes here})
syntax.  It's documented in the Camel (p. 160, 3rd Edition), and 
in the on-line perl docs too (see: perldoc perlre)

-Tim
*----------------------------------------------------------------------------*
| Tim Maher, CEO, CONSULTIX  (206) 781-UNIX; (866) DOC-PERL; (866) DOC-LINUX |
|  Ph.D. & JAWCAR ("Just Another White Camel Award Recipient")               |
|  tim at consultix-inc.com  teachmeunix.com  teachmeperl.com  teachmelinux.net |
*-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+*
|  CLASSES: Minimal Perl: 1/27; UNIX: 1/28; Perl: 2/10; Perl Modules: 2/13;  |
*----------------------------------------------------------------------------*



More information about the spug-list mailing list