Clear questions and runnable code
get the best and fastest answer
regexp with repetition of non-capturing groupby pelagic (Priest)
|on Mar 16, 2016 at 14:19 UTC||Need Help??|
pelagic has asked for the
wisdom of the Perl Monks concerning the following question:
I got a string that I want to analyse, preferably with a regexp.
It looks like this e.g.:
The number of 'ip-addresse:port' strings at the end of the line can vary.
I seem to have difficulties to catch all information, especialy all occurencies of 'ip-addresse:port' strings.
I tried the following regexp:
The thing catches only the last occurence, but iI want all.
Any ideas about this?