match all parts in the same line