Welcome to the Monastery | |
PerlMonks |
Re: regexp with repetition of non-capturing groupby Old_Gray_Bear (Bishop) |
on Mar 16, 2016 at 15:51 UTC ( [id://1157953]=note: print w/replies, xml ) | Need Help?? |
You said:
I got a string that I want to analyse, preferably with a regexp.Insert obligatory line about when you only have a hammer.... This is just what split was made for. Start with the seventh element of the array returned by split and proceed until you reach the end of the array. No need to confuse the issue with a fancy and fragile Regex.....
---- OGB
In Section
Seekers of Perl Wisdom
|
|