Update POSIX splitPathRe to allow control chars. Fixes #1230.
authorAdam Luikart <me@adamluikart.com>
Sat, 25 Jun 2011 22:37:57 +0000 (17:37 -0500)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 4 Jul 2011 20:50:27 +0000 (22:50 +0200)
commit7f30f135438f45f62a373d551764f0e804ff62ed
tree940b6879abebc2cc4cced7405fd1ad7f3ff61133
parent04c916989291ccc28fb2a8230e4013f97cc9799d
Update POSIX splitPathRe to allow control chars. Fixes #1230.

Use [\s\S] instead of . to match any char, including newlines.
lib/path.js
test/simple/test-path.js