(filename)
| 26959 | var splitPathRe = |
| 26960 | /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/; |
| 26961 | var splitPath = function(filename) { |
| 26962 | return splitPathRe.exec(filename).slice(1); |
| 26963 | }; |
| 26964 | |
| 26965 | // path.resolve([from ...], to) |
| 26966 | // posix version |