better regex match for absolute path