Public bug reported:
s3cmd throws warnings :
❯ s3cmd ls s3://
/usr/lib/python3/dist-packages/S3/S3Uri.py:122: SyntaxWarning: invalid escape
sequence '\.'
m =
re.match("(.*\.)?s3(?:\-[^\.]*)?(?:\.dualstack)?(?:\.[^\.]*)?\.amazonaws\.com(?:\.cn)?$",
/usr/lib/python3/dist-packages/S3/S3Uri.py:170: SyntaxWarning: invalid escape
sequence '\w'
_re = re.compile("^(\w+://)?(.*)", re.UNICODE)
/usr/lib/python3/dist-packages/S3/FileLists.py:525: SyntaxWarning: invalid
escape sequence '\*'
wildcard_split_result = re.split("\*|\?", uri_str, maxsplit=1)
Fixed here since 2024-09-11 : https://github.com/s3tools/s3cmd/pull/1370
** Affects: s3cmd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2125922
Title:
Incorrect escaping in regex
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s3cmd/+bug/2125922/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs