denisenkom / pytds

Python DBAPI driver for MSSQL using pure Python TDS (Tabular Data Stream) protocol implementation
MIT License
191 stars 53 forks source link

Fix DeprecationWarning due to invalid escapes #147

Closed tpow closed 1 year ago

tpow commented 1 year ago

Recent versions of python complain about invalid escape sequences such as \d and \(. Using raw strings is better for these when they are regular expressions.

tpow commented 1 year ago

@denisenkom This is a simple change. What do you think?

denisenkom commented 1 year ago

Thank you! Merged.