Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
re.py
on
3.9
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 25, 2020
bpo-40016: re docstring: Clarify relationship of inline and argument flags (#19078)
Show description for 89a2209
cool-RR
and
terryjreedy
authored
89a2209
View commit details
Copy full SHA for 89a2209
View code at this point
Browse repository at this point
Commits on May 31, 2019
bpo-36548: Improve the repr of re flags. (GH-12715)
serhiy-storchaka
authored
14a0e16
View commit details
Copy full SHA for 14a0e16
View code at this point
Browse repository at this point
Commits on Sep 18, 2018
bpo-34681: Rename class Pattern in sre_parse to State. (GH-9310)
Show description for e0c19dd
serhiy-storchaka
authored
e0c19dd
View commit details
Copy full SHA for e0c19dd
View code at this point
Browse repository at this point
Commits on Mar 11, 2018
bpo-32338: OrderedDict import is no longer needed in re. (#4891)
serhiy-storchaka
authored
b931bd0
View commit details
Copy full SHA for b931bd0
View code at this point
Browse repository at this point
Commits on Nov 16, 2017
bpo-30349: Raise FutureWarning for nested sets and set operations (#1553)
Show description for 05cb728
serhiy-storchaka
authored
05cb728
View commit details
Copy full SHA for 05cb728
View code at this point
Browse repository at this point
Commits on Oct 5, 2017
bpo-31671: re: Convert RegexFlag to int before compile (GH-3862)
Show description for c1c47c1
methane
authored
c1c47c1
View commit details
Copy full SHA for c1c47c1
View code at this point
Browse repository at this point
Commits on Oct 4, 2017
bpo-30397: Add re.Pattern and re.Match. (#1646)
serhiy-storchaka
authored
0b5e61d
View commit details
Copy full SHA for 0b5e61d
View code at this point
Browse repository at this point
Commits on Sep 27, 2017
Trivial readability improvement (#3791)
warsaw
authored
db50ba7
View commit details
Copy full SHA for db50ba7
View code at this point
Browse repository at this point
Commits on Sep 26, 2017
bpo-28293: Don't completely dump the regex cache when full. (#3768)
serhiy-storchaka
authored
114454e
View commit details
Copy full SHA for 114454e
View code at this point
Browse repository at this point
Commits on May 5, 2017
bpo-30215: Make re.compile() locale agnostic. (#1361)
Show description for 898ff03
serhiy-storchaka
authored
898ff03
View commit details
Copy full SHA for 898ff03
View code at this point
Browse repository at this point
Commits on Apr 13, 2017
bpo-29995: re.escape() now escapes only special characters. (#1007)
serhiy-storchaka
authored
5908300
View commit details
Copy full SHA for 5908300
View code at this point
Browse repository at this point
Commits on Nov 14, 2016
Issue #28637: Reapply changeset 223731925d06
Show description for fb6a659
vstinner
committed
fb6a659
View commit details
Copy full SHA for fb6a659
View code at this point
Browse repository at this point
Commits on Nov 7, 2016
Issue #28637: Revert issue #28082, don't import enum in re
Show description for 1ec1cd1
vstinner
committed
1ec1cd1
View commit details
Copy full SHA for 1ec1cd1
View code at this point
Browse repository at this point
Commits on Sep 19, 2016
Issue #28193: Use lru_cache in the re module.
rhettinger
committed
5820f3a
View commit details
Copy full SHA for 5820f3a
View code at this point
Browse repository at this point
Commits on Sep 11, 2016
issue28082: better name for Flag
ethanfurman
committed
7228980
View commit details
Copy full SHA for 7228980
View code at this point
Browse repository at this point
issue28082: use IntFlag for re constants
ethanfurman
committed
f93395b
View commit details
Copy full SHA for f93395b
View code at this point
Browse repository at this point
Commits on Sep 9, 2016
Issue #433028: Added support of modifier spans in regular expressions.
serhiy-storchaka
committed
be9a4e5
View commit details
Copy full SHA for be9a4e5
View code at this point
Browse repository at this point
Commits on Apr 24, 2016
Removed unused imports.
serhiy-storchaka
committed
ccd047e
View commit details
Copy full SHA for ccd047e
View code at this point
Browse repository at this point
Commits on Mar 25, 2015
Issue #22364: Improved some re error messages using regex for hints.
serhiy-storchaka
committed
632a77e
View commit details
Copy full SHA for 632a77e
View code at this point
Browse repository at this point
Commits on Feb 21, 2015
Issues #814253, #9179: Group references and conditional group references now
Show description for 4eea62f
serhiy-storchaka
committed
4eea62f
View commit details
Copy full SHA for 4eea62f
View code at this point
Browse repository at this point
Commits on Nov 30, 2014
merge 3.4 (#9179)
benjaminp
committed
16e802f
View commit details
Copy full SHA for 16e802f
View code at this point
Browse repository at this point
backout 9fcf4008b626 (#9179) for further consideration
benjaminp
committed
6632341
View commit details
Copy full SHA for 6632341
View code at this point
Browse repository at this point
Commits on Nov 11, 2014
Minor code clean up and improvements in the re module.
serhiy-storchaka
committed
ab14088
View commit details
Copy full SHA for ab14088
View code at this point
Browse repository at this point
Commits on Nov 7, 2014
Issues #814253, #9179: Group references and conditional group references now
Show description for 6276b32
serhiy-storchaka
committed
6276b32
View commit details
Copy full SHA for 6276b32
View code at this point
Browse repository at this point
Issues #814253, #9179: Group references and conditional group references now
Show description for 84df7fe
serhiy-storchaka
committed
84df7fe
View commit details
Copy full SHA for 84df7fe
View code at this point
Browse repository at this point
Commits on Oct 30, 2014
Fixed compile error in issue #22410. The _locale module is optional.
serhiy-storchaka
committed
3bf7a6c
View commit details
Copy full SHA for 3bf7a6c
View code at this point
Browse repository at this point
Fixed compile error in issue #22410. The _locale module is optional.
serhiy-storchaka
committed
cf7b1ca
View commit details
Copy full SHA for cf7b1ca
View code at this point
Browse repository at this point
Issue #22410: Module level functions in the re module now cache compiled
Show description for 7cc0a1f
serhiy-storchaka
committed
7cc0a1f
View commit details
Copy full SHA for 7cc0a1f
View code at this point
Browse repository at this point
Issue #22410: Module level functions in the re module now cache compiled
Show description for 4659cc0
serhiy-storchaka
committed
4659cc0
View commit details
Copy full SHA for 4659cc0
View code at this point
Browse repository at this point
Commits on Sep 29, 2014
Issue #22510: Get rid of little overhead of testing re.DEBUG flag.
serhiy-storchaka
committed
4d75a01
View commit details
Copy full SHA for 4d75a01
View code at this point
Browse repository at this point
Commits on Sep 28, 2014
Removed a code for suport Python version <2.2.
serhiy-storchaka
committed
be4de52
View commit details
Copy full SHA for be4de52
View code at this point
Browse repository at this point
Commits on Feb 3, 2014
Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
pitrou
committed
c49672f
View commit details
Copy full SHA for c49672f
View code at this point
Browse repository at this point
Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
pitrou
committed
d2cc743
View commit details
Copy full SHA for d2cc743
View code at this point
Browse repository at this point
Commits on Nov 23, 2013
Issue #16203: Add re.fullmatch() function and regex.fullmatch() method,
Show description for 32eddc1
serhiy-storchaka
committed
32eddc1
View commit details
Copy full SHA for 32eddc1
View code at this point
Browse repository at this point
Commits on Oct 13, 2013
Back out accidentally pushed changeset b51218966201.
birkenfeld
committed
daa1fa9
View commit details
Copy full SHA for daa1fa9
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.