Closed deshipu closed 6 years ago
Fixed with minimum extra code in https://github.com/pfalcon/re1.5/commit/bbfe74ae353615dbc3d7f6d54b4d315530fe06fb and testcases in https://github.com/pfalcon/re1.5/commit/53ec8fbfbf81819340433ce26b6f2697376f5c64
I'm confused. First you say that this change is not welcome in this project, and then you make it yourself.
Fix https://github.com/micropython/micropython/issues/3178
When '-' appears at the end of a class, treat it as literal '-'.
Copied from https://github.com/micropython/micropython/pull/3239