mirror of https://github.com/python/cpython.git
bpo-44786: Fix a warning in RE in c-analyzer (GH-28351)
This commit is contained in:
parent
11cdf2a670
commit
1a9ef57985
|
@ -0,0 +1 @@
|
|||
Fix a warning in regular expression in the c-analyzer script.
|
|
@ -236,12 +236,12 @@ def build_table(specs, *, sep=' ', defaultwidth=None):
|
|||
_COLSPEC_RE = re.compile(textwrap.dedent(r'''
|
||||
^
|
||||
(?:
|
||||
[[]
|
||||
\[
|
||||
(
|
||||
(?: [^\s\]] [^\]]* )?
|
||||
[^\s\]]
|
||||
) # <label>
|
||||
[]]
|
||||
]
|
||||
)?
|
||||
( \w+ ) # <field>
|
||||
(?:
|
||||
|
|
Loading…
Reference in New Issue