Fox for #27 + tests

Added support for `*` and `.` in named regexps.

Fixed deleting `.next` property from possibly undefined value in
test.js. Resulted error should be AssertionError, not TypeError.