removed loop from StrStream.match