Skip to content

v0.2.0

Compare
Choose a tag to compare
@peter-jerry-ye peter-jerry-ye released this 04 Jul 09:55
· 20 commits to main since this release

[0.2.0]

Changed

  • Renamed Error_ to RegexpError, and renamed field data to source_fragment.
  • Renamed Engine to Regexp.
  • Renamed MatchResult::group to MatchResult::get.
  • Replaced MatchResult::group_by_name with MatchResult::results that returns a whole Map.
  • MatchResult::results now returns an Array instead of Iter.
  • Regexp::group_names now returns an Array instead of Iter.
  • Replaced MatchResult::rest with Regexp::execute_with_remainder.