Skip to content

Conversation

@andrewleech
Copy link
Contributor

@andrewleech andrewleech commented Jul 6, 2023

With the recent micropython change to remove the u prefix by default on builtins (micropython/micropython#11740) the format checker in fnmatch which was detecting ure no longer works.

The MR updates the module to filter the regex automatically as needed.

@jimmo
Copy link
Member

jimmo commented Jul 7, 2023

Thanks, that's a much better solution than what was there before.

With the recent MicroPython change to remove the u prefix by default on
builtins (micropython/micropython#11740) the format checker in fnmatch
which was detecting ure no longer works.

This commit updates the module to filter the regex automatically as needed.

Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
@dpgeorge dpgeorge merged commit e45a7f6 into micropython:master Jul 21, 2023
@andrewleech andrewleech deleted the fnmatch_ure_re branch September 6, 2024 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants