Combine String#trim regexes into one. Fixes #284