Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5fe0f4e3
Commit
5fe0f4e3
authored
Apr 29, 2012
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#14519: merge with 3.2.
parents
ec5cf095
a0b1d1ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/library/re.rst
Doc/library/re.rst
+2
-2
No files found.
Doc/library/re.rst
View file @
5fe0f4e3
...
@@ -1075,13 +1075,13 @@ expressions.
...
@@ -1075,13 +1075,13 @@ expressions.
+--------------------------------+---------------------------------------------+
+--------------------------------+---------------------------------------------+
| ``%i`` | ``[-+]?(0[xX][\dA-Fa-f]+|0[0-7]*|\d+)`` |
| ``%i`` | ``[-+]?(0[xX][\dA-Fa-f]+|0[0-7]*|\d+)`` |
+--------------------------------+---------------------------------------------+
+--------------------------------+---------------------------------------------+
| ``%o`` | ``
0[0-7]*``
|
| ``%o`` | ``
[-+]?[0-7]+``
|
+--------------------------------+---------------------------------------------+
+--------------------------------+---------------------------------------------+
| ``%s`` | ``\S+`` |
| ``%s`` | ``\S+`` |
+--------------------------------+---------------------------------------------+
+--------------------------------+---------------------------------------------+
| ``%u`` | ``\d+`` |
| ``%u`` | ``\d+`` |
+--------------------------------+---------------------------------------------+
+--------------------------------+---------------------------------------------+
| ``%x``, ``%X`` | ``
0[xX][\dA-Fa-f]+``
|
| ``%x``, ``%X`` | ``
[-+]?(0[xX])?[\dA-Fa-f]+``
|
+--------------------------------+---------------------------------------------+
+--------------------------------+---------------------------------------------+
To extract the filename and numbers from a string like ::
To extract the filename and numbers from a string like ::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment