Stefan_Salewski Thu, 14 Jul 2016 18:30:02 +0200
if line.match(pattern.re).isSome:
looks not really smart for me. You may create a new regex for each loop iteration.