Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: quick question about parenthesis and regular expressionsby cranberry13 (Beadle) |
on Nov 04, 2003 at 12:31 UTC ( [id://304393]=note: print w/replies, xml ) | Need Help?? |
Enlil-- Thanks for the reg expression -- it works :) But here's an interesting problem, it seems if i'm using a regular expression with the substitution operator, the value of $1 comes up blank. Why is that? What I really want to do is this:
assuming that:
I want it to match absorbed and but store the value of it in $1 so that I can use it later.
In Section
Seekers of Perl Wisdom
|
|