Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regex: Support for recursive patterns #69469

Open
Sworddragon mannequin opened this issue Sep 30, 2015 · 2 comments
Open

regex: Support for recursive patterns #69469

Sworddragon mannequin opened this issue Sep 30, 2015 · 2 comments
Labels
stdlib Python modules in the Lib dir topic-regex type-feature A feature request or enhancement

Comments

@Sworddragon
Copy link
Mannequin

Sworddragon mannequin commented Sep 30, 2015

BPO 25282
Nosy @ezio-melotti, @bitdancer

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2015-09-30.15:47:13.327>
labels = ['expert-regex', 'type-feature', 'library']
title = 'regex: Support for recursive patterns'
updated_at = <Date 2016-01-04.03:30:52.529>
user = 'https://bugs.python.org/Sworddragon'

bugs.python.org fields:

activity = <Date 2016-01-04.03:30:52.529>
actor = 'ezio.melotti'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)', 'Regular Expressions']
creation = <Date 2015-09-30.15:47:13.327>
creator = 'Sworddragon'
dependencies = []
files = []
hgrepos = []
issue_num = 25282
keywords = []
message_count = 2.0
messages = ['251951', '251952']
nosy_count = 4.0
nosy_names = ['ezio.melotti', 'mrabarnett', 'r.david.murray', 'Sworddragon']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue25282'
versions = ['Python 3.6']

@Sworddragon
Copy link
Mannequin Author

Sworddragon mannequin commented Sep 30, 2015

It seems Python's own regular expressions aren't able of handling nested structures so maybe this can be enhanced like it is done with PCRE's recursive patterns.

@Sworddragon Sworddragon mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Sep 30, 2015
@bitdancer
Copy link
Member

According to this:

http://www.rexegg.com/regex-recursion.html

regex supports recursive regex, so the thing to do would be to help work toward getting regex into the standard library (what we need for that, from what I understand, is code reviews).

@vstinner vstinner changed the title Support for recursive patterns regex: Support for recursive patterns Sep 30, 2015
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir topic-regex type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants