Fixed whitespace.
Added Result object that encapsulates return values in the nextMatch()-chain.