wvmscs
dfc5de701b
Fix re.fullmatch POSSESSIVE_REPEAT ( #7187 )
2026-02-20 09:51:34 +09:00
Jeong, YunWon
334936045d
Implement missing unicodedata functions and fix lookup error type
...
Add combining, decomposition, digit, decimal, numeric methods to Ucd.
Change lookup() to raise KeyError instead of LookupError.
Remove expectedFailure markers from 9 passing tests.
Add unicodedata.is_normalized() method.
Rename decomp_chars to chars to fix spell check.
Remove expectedFailure from test_named_unicode_escapes and
test_urlsplit_normalization.
2026-02-14 09:32:17 +09:00
Jeong, YunWon
c91f27c2fa
Fix nonlocal type param check, __class_getitem__, __set_name__ note, sre module names
...
- Reject nonlocal binding for type parameters in symboltable
- Enable __class_getitem__ on memoryview, Template, Interpolation
- Fix __set_name__ error note to quote attribute name
- Set re.Match and re.Pattern module to "re" instead of "_sre"
- Migrate parking_lot::Mutex to PyMutex in typevar.rs
- Collapse nested if-let chains in typing_type_repr (clippy)
- Remove 5 expectedFailure markers from test files
2026-02-11 17:00:29 +09:00
Lee Dogeon
c8b1cb8cab
Bump re to 3.14.2
2026-01-20 15:29:05 +09:00
Jeong, YunWon
8f7b1343bc
mark and unmark successful/failing tests
2026-01-18 20:00:15 +09:00
Terry Tianlin Luan
8977c39b60
Updated the re library + test ( #6648 )
...
* Updated re library + test
* Copied over generate_sre_constants from cpython/Tools
* Customized `generate_sre_constants.py` + ran to update `constants.rs`
* Clarified `dump_enum` docstring in `generate_sre_constants.py`
2026-01-05 13:55:07 +09:00
Noa
a86126419c
Fix remaining tests
2025-03-25 19:05:12 -05:00
Noa
b36b32bfe8
Make re wtf8-compatible
2025-03-25 19:05:12 -05:00
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