Commit 3bb43b7
authored
[3.12] gh-106052: Fix bug in the matching of possessive quantifiers (gh-106515)
It did not work in the case of a subpattern containing backtracking.
Temporary implement possessive quantifiers as equivalent greedy qualifiers
in atomic groups..
(cherry picked from commit 7b6e34e)
1 parent aa2ecef commit 3bb43b7
File tree
3 files changed
+21
-0
lines changed- Lib
- re
- test
- Misc/NEWS.d/next/Library
3 files changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
103 | 110 | | |
104 | 111 | | |
105 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2365 | 2365 | | |
2366 | 2366 | | |
2367 | 2367 | | |
| 2368 | + | |
| 2369 | + | |
| 2370 | + | |
| 2371 | + | |
| 2372 | + | |
| 2373 | + | |
| 2374 | + | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
2368 | 2378 | | |
2369 | 2379 | | |
2370 | 2380 | | |
| |||
2461 | 2471 | | |
2462 | 2472 | | |
2463 | 2473 | | |
| 2474 | + | |
2464 | 2475 | | |
2465 | 2476 | | |
2466 | 2477 | | |
| |||
2473 | 2484 | | |
2474 | 2485 | | |
2475 | 2486 | | |
| 2487 | + | |
2476 | 2488 | | |
2477 | 2489 | | |
2478 | 2490 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments