exit loop when regexp matches
drastically improve performance parsing file at hand
No use of popen anymore