FWIW

Found on https://stackoverflow.com/a/50504635 :


Python 3 interprets string literals as Unicode strings, and therefore your \d 
is treated as an escaped Unicode character.

Declare your RegEx pattern as a raw string instead by prepending r, as
below:

r'\nRevision: (\d+)\n'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2105371

Title:
  installing xslx2csv gives "SyntaxWarning: invalid escape sequence
  '\d'"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xlsx2csv/+bug/2105371/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to