Perl: the Markov chain saw | |
PerlMonks |
Re: Regular expression helpby philcrow (Priest) |
on Aug 17, 2005 at 21:29 UTC ( [id://484610]=note: print w/replies, xml ) | Need Help?? |
You can use regex quoting to build up expressions from pieces. It looks something like this:
So you can store regexes in vars usin the qr quoting operator, then use them in subsequent regexes merely by mentioning them. They will interpolate. Phil
In Section
Seekers of Perl Wisdom
|
|