update regex

for stripping trailing spaces, per https://github.com/jonschlinkert/word-wrap/issues/2#issuecomment-65709093