hypothesis/dom-text-mapper — pull request #39 by mitar (2014-04-05 21:55:12+00:00)
Title: Just cleaning a bit the regex

I simplified regex and generalized to all whitespace (same as `trim()` is working on). BTW, `trim()` is a [newer function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim).