- 
  Notifications
 You must be signed in to change notification settings 
- Fork 1.1k
Commit e45a7f6
fnmatch: Fix compatibility with ure -> re.
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>1 parent 6103823 commit e45a7f6
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 27 | 27 |  | |
| 28 | 28 |  | |
| 29 | 29 |  | |
| 30 | - | ||
| 31 | - | ||
| 32 | 30 |  | |
| 33 | 31 |  | |
| 34 | 32 |  | |
|  | |||
| 58 | 56 |  | |
| 59 | 57 |  | |
| 60 | 58 |  | |
| 61 | - | ||
| 59 | + | ||
| 60 | + | ||
| 61 | + | ||
| 62 | + | ||
| 63 | + | ||
| 62 | 64 |  | |
| 63 | 65 |  | |
| 64 | 66 |  | |
| 65 | 67 |  | |
| 66 | - | ||
| 68 | + | ||
| 69 | + | ||
| 70 | + | ||
| 67 | 71 |  | |
| 68 | 72 |  | |
| 69 | 73 |  | |
|  | |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 1 | - | ||
| 1 | + | ||
| 2 | 2 |  | |
| 3 | 3 |  | |
0 commit comments