I took a look and the conclusion is the error is just an warning issue by Python
string parsing, the regex is perfectly valid.

I don't think we need to fix this, if anyone wants to remove the
warning, please try the following;

- transform the regex string into a raw string:

     r'^[a-zA-Z0-9][a-zA-Z0-9\-\.]*$'

I mark this bug Won't fix

** Changed in: postfix (Ubuntu)
       Status: Confirmed => Won't Fix

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

Title:
  /usr/share/apport/package-hooks/postfix.py:36: SyntaxWarning: invalid
  escape sequence '\-'

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


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

Reply via email to