Update chai version and fix #33

### Update chai version

When run `npm test`, will take an error. `Can't find module 'type-detect'`. Then I install chai@1.9.2, tests work. So I update the version of chai in `package.json`.

### Fix #33 

Add `\/` in the parser regex to fix the problem. And also add test for this case.