in reply to Rewrite for "How to get ($1, $2, ...)?
in thread How to get ($1, $2, ...)?
Even after reading and re-reading your Update, I still don't quite get your problem.
- Do your patterns span multiple lines, or must each pattern match within a single line?
- Do your patterns always start matching at the beginning of a line, or do you sometimes pickup a pattern halfway through a line?
Also, unless the patterns are contstrained to start matching at the beginning of a line, it sounds like you're heading for a wildly inefficient and slow routine. Or am I misunderstanding you?
throop
|
---|
In Section
Seekers of Perl Wisdom