Fixes for re
module bugs and other minor differences from CPython
#1
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.
🪛Fixes:
FileNotFoundError
, which is not present in CircuitPythonstr.title()
which is not present in CircuitPythonre
module that incorrectly detected positions of unicode charactersre
module, that incorrectly matches[\s\S]
pattern, so it had to be changed to something that does the same thing, using other tokensLast two ones should be a temporary solution, until the bugs are fixed, but for now they are necessary.
🏗️ Refactor:
.html
files to HTML commentsAdditional testing would be highly appreciated. 😃