Fix failing test. Needed to reset loop-counters
Fix positive and negative lookahead (?=...) and (?!...)