34 Commits

Author SHA1 Message Date
Jeong YunWon
3bbf6b9d53 less strict time bound for test_re.test_search_anchor_at_beginning 2024-09-10 16:31:43 +09:00
Jeong, YunWon
f541ca9dda Require cpu resource to test_search_anchor_at_beginning (#5218)
cherry-pick python/cpython#117616

Co-authored-by: CPython Developers <>
2024-04-09 01:01:46 +09:00
Kangzhi Shi
d9375b9fe1 impl re.template(),
template_compile template_expand subx
2024-03-22 14:59:19 +09:00
Kangzhi Shi
1e3d57817c Replace re_test.py from CPython 3.12 and mark failed tests 2024-03-22 14:59:09 +09:00
dvermd
0d0139b322 Update enum to CPython 3.11.5 (#5074)
part of: #4564
2023-10-03 22:32:38 +09:00
Kangzhi Shi
d7842d1e8e pass htmlparser tests 2022-07-25 22:07:26 +02:00
Kangzhi Shi
0e11e20ddd update test_re from cpython3.10 2022-07-12 08:07:48 +02:00
Frank King
e652ae8fc0 Support unicode array type. 2021-08-21 20:18:05 +08:00
Kangzhi Shi
807acfeddd impl sre Pattern compare 2021-04-22 08:57:18 +02:00
Kangzhi Shi
b68c736d5f fix sre ExternalTests 2021-04-21 11:17:00 +02:00
Noah
631e17a630 Merge pull request #2576 from qingshi163/sreupdate
fix sre zerowidth search
2021-04-20 10:13:50 -05:00
Kangzhi Shi
7ab4e9573c fix sre zerowidth search 2021-04-20 10:21:16 +02:00
Noah
dc22d08d29 Merge pull request #2573 from qingshi163/sre-pattern-repr
impl Pattern __repr__
2021-04-19 08:24:31 -05:00
Kangzhi Shi
7085fed82c impl Pattern __repr__ 2021-04-19 09:15:17 +02:00
Noah
075b184b56 Upgrade sre-engine 2021-04-16 10:56:14 -05:00
Noah
ff75791193 Unskip tests 2021-02-03 10:36:27 -06:00
Kangzhi Shi
5794c46adf fix multiple bugs; pass tests 2021-01-22 16:40:33 +02:00
Kangzhi Shi
2a6bf6286a fix Match.group with __index__ 2021-01-21 19:45:00 +02:00
Kangzhi Shi
5232a3db3e fix back_peek_char 2021-01-21 19:24:10 +02:00
Kangzhi Shi
df42fd913f fix at_beginning 2021-01-21 16:14:23 +02:00
Kangzhi Shi
40b68fbea7 impl Pattern SubArgs with bytes 2021-01-21 15:51:51 +02:00
Kangzhi Shi
8d11e9e310 pass multiple tests 2021-01-20 17:30:23 +02:00
Kangzhi Shi
2e7f47a79e fix zero width repeat 2021-01-20 16:33:30 +02:00
Kangzhi Shi
a0ceadfb2a fix multiple bugs; skip crash tests 2021-01-20 08:29:58 +02:00
Kangzhi Shi
faf0aa6426 add bytes support and refactor 2021-01-20 08:29:58 +02:00
Kangzhi Shi
7ff6dcab9e impl Match.lastgroup 2021-01-20 08:29:58 +02:00
Kangzhi Shi
5ca4e79eb5 impl Pattern.findall 2021-01-20 08:29:57 +02:00
Kangzhi Shi
ef7c296001 impl Match.groupdict 2021-01-20 08:29:57 +02:00
Kangzhi Shi
79790be0df fix OpMinUntil 2021-01-20 08:29:57 +02:00
Kangzhi Shi
de7f07b354 impl Pattern.sub 2021-01-20 08:29:57 +02:00
Jeong YunWon
d099831bbf Bring some code from brython master 2020-08-28 11:06:56 +09:00
Jeong YunWon
c0fc94fc2b Fix keyword arguments support of _sre.py 2020-08-28 10:54:11 +09:00
Jeong YunWon
63f13728a2 Mark failng tests in test_re.py 2020-08-28 10:54:10 +09:00
CPython dev
f0882a6c21 test_re.py from CPython 3.8.5 2020-08-28 10:54:07 +09:00