Add breaking changes and release 1.0.0.
This makes `.error()` default to empty spans rather than
single-character ones. This better represents the semantics of failing
at a particular position in the text.
It also makes `lastMatch` reset whenever the scanner's position changes.
This makes `.error()` behave more consistently when primarily doing
character-based scanning, since it won't unexpectedly emit an error for
stale match data.
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//2056933002 .
7 files changed
tree: 80a71a0154fa9f57c8c4a454cdf50c76fc15de79
- pkgs/