fgnass/domino — pull request #45 by gwicke (2014-05-14 13:39:48+00:00)
Title: Fix breakage from 400b989d

Make sure to check whether lastIndex changed, and don't match anything in
SIMPLETAG / SIMPLEATTR.

This broke Parsoid parser tests, but was not caught by the domino test suite.
This suggests a gap in test coverage.

TODO:
Add tests for this, or use a bigger HTML5 parser test suite.