This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Replacement of re with the regex package
Type: enhancement Stage: resolved
Components: Regular Expressions Versions: Python 3.6
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Adding a new regex module (compatible with re)
View: 2636
Assigned To: Nosy List: ezio.melotti, mrabarnett, pnugues, serhiy.storchaka
Priority: normal Keywords:

Created on 2016-10-17 13:20 by pnugues, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg278806 - (view) Author: Pierre Nugues (pnugues) Date: 2016-10-17 13:20
I am using Unicode regexes in the form of properties: \p{} and these are not standard in the re module. I have to use the new regex module, which has to be installed separately.

I would like to see the replacement of re with regex in the future Python versions. I was not sure where to post my request and I used this bug tracker with the enhancement category. I hope this is not a mistake.
msg278808 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-10-17 13:32
See issue12734 for adding the support of properties in re.

See issue2636 for replacing re with regex.

See issue22594 for encouraging the use of regex.
History
Date User Action Args
2022-04-11 14:58:38adminsetgithub: 72647
2016-10-17 13:32:52serhiy.storchakasetstatus: open -> closed

superseder: Adding a new regex module (compatible with re)

nosy: + serhiy.storchaka
messages: + msg278808
resolution: duplicate
stage: resolved
2016-10-17 13:20:48pnuguescreate