changed some string literals to raw strings
These changes shall fix the following syntax warnings thrown by python 3 (3.12.6 in my case):
ptomulik@tea:$ xlsx2csv
/usr/bin/xlsx2csv:809: SyntaxWarning: invalid escape sequence '\d'
elif re.match("^\d+(\.\d+)?$", self.data) and re.match(".*[hsmdyY]", format_str) and not re.match(
/usr/bin/xlsx2csv:810: SyntaxWarning: invalid escape sequence '\['
'.*\[.*[dmhys].*\]', format_str):
/usr/bin/xlsx2csv:816: SyntaxWarning: invalid escape sequence '\d'
elif re.match("^-?\d+(.\d+)?$", self.data) or (
/usr/bin/xlsx2csv:817: SyntaxWarning: invalid escape sequence '\d'
self.scifloat and re.match("^-?\d+(.\d+)?([eE]-?\d+)?$", self.data)):
/usr/bin/xlsx2csv:905: SyntaxWarning: invalid escape sequence '\d'
start = re.match("^([A-Z]+)(\d+)$", rng[0])
/usr/bin/xlsx2csv:907: SyntaxWarning: invalid escape sequence '\d'
end = re.match("^([A-Z]+)(\d+)$", rng[1])
/usr/bin/xlsx2csv:991: SyntaxWarning: invalid escape sequence '\d'
start = re.match("^([A-Z]+)(\d+)$", rng[0])
/usr/bin/xlsx2csv:992: SyntaxWarning: invalid escape sequence '\d'
end = re.match("^([A-Z]+)(\d+)$", rng[1])
usage: xlsx2csv [-h] [-v] [-a] [-c OUTPUTENCODING] [-d DELIMITER] [--hyperlinks] [-e] [--no-line-breaks] [-E EXCLUDE_SHEET_PATTERN [EXCLUDE_SHEET_PATTERN ...]] [-f DATEFORMAT] [-t TIMEFORMAT] [--floatformat FLOATFORMAT] [--sci-float]
[-I INCLUDE_SHEET_PATTERN [INCLUDE_SHEET_PATTERN ...]] [--exclude_hidden_sheets] [--ignore-formats IGNORE_FORMATS [IGNORE_FORMATS ...]] [-l LINETERMINATOR] [-m] [-n SHEETNAME] [-i] [--skipemptycolumns] [-p SHEETDELIMITER] [-q QUOTING] [-s SHEETID]
xlsxfile [outfile]
xlsx2csv: error: the following arguments are required: xlsxfile