![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: Backref in a regex quantifierby sfink (Deacon) |
on Jul 11, 2007 at 03:31 UTC ( #625949=note: print w/replies, xml ) | Need Help?? |
No, backreferences are not allowed there. It could be implemented, but I don't think it comes up often enough to be needed.
However, if I can simplify your example even further and assume that the first (\d+?) is always of fixed length (say 4 characters), then the following will give you what you want:
In Section
Seekers of Perl Wisdom
|
|