Skip to content

Commit

Permalink
Use raw string notation for regex to fix PyInstaller warning (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivedihoney authored Jul 23, 2024
1 parent 9b0256c commit 1d356ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyexcelerate/Range.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# reverse the previous mapping COORD2COLUMN to go from "A" to 1
COLUMN2COORD = {col: i for i, col in enumerate(COORD2COLUMN)}
# regexp that splits an excel reference (e.g. "B23") into row/col
RE_COLUMN_ROW = re.compile("([A-Z]+)(\d*)")
RE_COLUMN_ROW = re.compile(r"([A-Z]+)(\d*)")


class Range(object):
Expand Down

0 comments on commit 1d356ff

Please sign in to comment.