firasdib / Regex101

This repository is currently only used for issue tracking for www.regex101.com
3.26k stars 199 forks source link

Inline modifier group for Python not supported #2024

Closed buhtz closed 1 year ago

buhtz commented 1 year ago

Bug Description

It seems that "inline modifier groups" are not supported for Python. But Python itself does support it since version 3.6. See also https://stackoverflow.com/a/58818125/4865723

image

Trying this in my own Python 3.10 it works without problems.

Reproduction steps

The regex patter

^#(?i:begin)_(\S+)\s(.+)

Expected Outcome

No errors.

Browser

Edge

OS

MS Windows 10 (sorry, not my choice)

working-name commented 1 year ago

Hello, thank you for the report! Closing in favor of #1698.

MS Windows 10 (sorry, not my choice)

🤣