http://qs321.pair.com?node_id=1157953


in reply to regexp with repetition of non-capturing group

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.....

----
I Go Back to Sleep, Now.

OGB