- Rewrite handling of captures, previous version returned indices out of order
- Update the test dependency
plist-xml
to version 0.5.
- Support named capture groups.
- Fix mapping scopes to captures.
- Fix bug of incorrect, non-increasing string indices being returned.
- Add
find_by_filetype
function.
- Fix handling of while
- Fix handling of end-delimiter scopes
- Add type definitions for Ezjsonm and Yojson JSON values
- Add functions for reading JSON-format grammars into Ezjsonm or Yojson values
- Add tests
- Check capture index bounds and ignore out-of-bounds captures indices in
rules. Previously the underlying Oniguruma bindings would throw an
Invalid_argument
exception.
- Switch from PCRE to Oniguruma.
- Substitute captures from
begin
pattern for backreferences inend
andwhile
patterns.
Initial release.