Skip to content

Commit

Permalink
Merge pull request #3088 from tylerjereddy/treddy_char_class_overhead
Browse files Browse the repository at this point in the history
MAINT: char class regex improve
  • Loading branch information
orbeckst authored Dec 30, 2020
2 parents 1ed6e68 + 22f511f commit 8f7e338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/MDAnalysis/coordinates/GMS.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def _read_next_timestep(self, ts=None):
line) is not None):
flag = 2
continue
if (flag == 2) and (re.match(r'^\s*[-]+\s*', line) is not None):
if (flag == 2) and (re.match(r'^\s*-+\s*', line) is not None):
flag = 3
continue
if flag == 3 and counter < self.n_atoms:
Expand Down

0 comments on commit 8f7e338

Please sign in to comment.