Regex101
Regex101 copied to clipboard
Add Python 3.11's implementation of atomic groups and possessive quantifiers
Feature
Per python/cpython#31982, atomic groups and possessive quantifiers will be available in the re
module in Python 3.11, which releases on Monday, October 24. I'm not sure how Regex101 handles version-specific features of regex styles, but I think it would be good to include this, either now or at some point when Python 3.11 is considered mature or dominant enough.
Just said, Python 3.11 was released on 2022/10/24.
Should it be written in the description of the feature that this is only available in 3.11?
Or should we always consider that python
= latest?
Should it be written in the description of the feature that this is only available in 3.11? Or should we always consider that
python
= latest?
I think Python (<3.10)
and Python (>=3.11)
would seem sensible like with PCRE
and PCRE2
@JensHeinrich Issue #1219 proposes Python (<3.7)
and Python (>=3.7)
.
I think a split in <3.10 and >=3.11 would be reasonable, but if that's too much effort, then using the latest released python seems like the next best thing. In any case, it should become possible to use the new possessive qualifiers and other current regex features present in python.