Repository navigation
v1.0.0
Major overhaul.
- Requirement is now python >= 3.10
- Renamed 'matchers' to 'groups' to be consistent with regex tools.
- Group definition is now orderless (rgx, fmt, etc can be specified in any order).
:optis now only a flag for specifying the group as optional- new
:bool=true[:false]property. Note the order from old:optis reversed. Options are strings (not regex).
- Better API to retrieve values with
Matches.get_values,Matches.get_valueandMatches.__getitem__. - Make package typed.
- Refactor format module.
- Use sub-classes for different format types, avoiding frequent dispatching.
- Add 'z' option to format (just allow it in format string, nothing else) (added in 3.11).
- Add alignment/fill support for string formats.
- Other renaming, streamlining, and minor bug fixes.
- Better test suite relying heavily on hypothesis. Now tested on OS other than linux with github actions.
Full Changelog: changelog.md