-
Notifications
You must be signed in to change notification settings - Fork 0
0.0.5 release #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Added `to_nfc` test. - Avoiding lru_cache when evalutating enum (just build expression on script initialization to prevent slowness for now). - Additional/improved edge cases in some tests. - Added reserved regex expressions to constants.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #3 +/- ##
==========================================
+ Coverage 82.47% 86.92% +4.44%
==========================================
Files 5 5
Lines 97 130 +33
Branches 12 23 +11
==========================================
+ Hits 80 113 +33
+ Misses 16 14 -2
- Partials 1 3 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
…e` and add test for changing the default.
74d934f to
ef5d5f3
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Modified project and test requirements so that RE 2 is only required for testing.
Additional and improved examples in readme and throughout the code.
Fixes incorrect separator in the package name withing the Makefile.
Fixes incorrect return type and parameter names and types in the
char_rangeanditer_char_rangefunctions.Added
make_expfunction to create a regex expression from an iterable of chars. For example:Regex flavor keyword arguments will now default to a value of
Noneinstead of1, however this does not change the original behavior or defaulting to RE 1.This is due to adding a
regex_toolkit.base.default_flavorvalue that can be monkey patched to change the default behavior. Like this:Updated tests.
"Cleaner" validation of regex flavor keyword arguments.
resolve_flavorfunction to resolve regex flavor keyword arguments.Added a requirements-test.txt file to the root of the project for test requirements.
Updated README.md.