Visitar URL original
Add Python 3.11's implementation of atomic groups and possessive quantifiers · Issue #1930 · firasdib/Regex101 · GitHub
Skip to content

Add Python 3.11's implementation of atomic groups and possessive quantifiers #1930

Closed

Description

@angus-lherrou

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.

Activity

  1. liudongmiao commented on Nov 18, 2022

    @liudongmiao

    Just said, Python 3.11 was released on 2022/10/24.

  2. Ayc0 commented on Mar 20, 2023

    @Ayc0

    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?

  3. JensHeinrich commented on Mar 21, 2023

    @JensHeinrich

    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

  4. rootsmusic commented on Dec 12, 2023

    @rootsmusic

    @JensHeinrich Issue #1219 proposes Python (<3.7) and Python (>=3.7).

  5. h-vetinari commented on Apr 11, 2024

    @h-vetinari

    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.

  6. firasdib commented on Jan 30, 2026

    @firasdib
    Owner

    Going forward, regex101 will support the Python 3.14 regex engine, where these features will be included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions