|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: Backreferencesby snax (Hermit) |
| on Jul 23, 2003 at 11:07 UTC ( [id://277193]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You want:
-- you're grabbing the first matched quote character in the parentheses because, as noted above, you can't use the backreference the way you wanted. Once you have the opening quote, though, you can use it as shown in this regex to terminate your match. (edited for clarity)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||