Collapse content whitespace before matching.