Regex readability improvements
This commit is contained in:
parent
87d5031e92
commit
bfff79c929
1 changed files with 10 additions and 10 deletions
|
@ -17,8 +17,8 @@ RE_HEADER = re.compile(r'''
|
|||
[ ] (?P<numlev>[0-9\ ]{4})
|
||||
[ ] (?P<p_src>.{8})
|
||||
[ ] (?P<np_src>.{8})
|
||||
[ ] (?P<lat>[0-9 ]{7})
|
||||
[ ] (?P<lon>[0-9 ]{8})
|
||||
[ ] (?P<lat>[0-9\- ]{7})
|
||||
[ ] (?P<lon>[0-9\- ]{8})
|
||||
$
|
||||
''', re.X)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue