mirror of https://github.com/lammps/lammps.git
improve version tag regexp to match cases with leading blanks
This commit is contained in:
parent
0fe739eb35
commit
7238a29cb7
|
@ -36,7 +36,7 @@ patterns:
|
|||
"""
|
||||
|
||||
def check_pending_tag(f):
|
||||
pattern = re.compile(r'\.\. +version(changed|added):: +TBD')
|
||||
pattern = re.compile(r'^ *\.\. +version(changed|added):: +TBD')
|
||||
last_line = "\n"
|
||||
lineno = 1
|
||||
errors = set()
|
||||
|
|
Loading…
Reference in New Issue