From: Alex Fenton Date: 2005-10-03T04:06:46+09:00 Subject: split without lookbehind Hi I'm trying to split a path (like an URL, but not one) into bits on the '/' character. Problem is, I want to be able to be able to escape '/' in the names of bits by doubling the character to '//' eg 'foo/bar // baz/qux' => ["foo", "bar / baz", "qux"] In a perlish regex I could use zero-width assertions either side thus string.split(/(?