Skip to content

Commit

Permalink
\ should be removed when using r
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored May 16, 2024
1 parent 502d214 commit 6d4c8d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gromacs/fileformats/xpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class XPM(utilities.FileUtils):
#:
#: .. _`printable ASCII character`: http://www.danshort.com/ASCIImap/indexhex.htm
COLOUR = re.compile(
r"""\
r"""
^.*" # start with quotation mark
(?P<symbol>[\x20-\x7E])# printable ASCII symbol used in the actual pixmap: 'space' to '~'
\s+ # white-space separated
Expand Down

0 comments on commit 6d4c8d4

Please sign in to comment.