SIGN IN SIGN UP

gh-130631: Make join_header_words() more similar to the original Perl version (GH-130632)

* Always quote strings with non-ASCII characters.
* Allow some non-separator and non-control characters (like "." or "-")
  be unquoted.
* Always quote strings that end with "\n".
* Use the fullmatch() method for clarity and optimization.
S
Serhiy Storchaka committed
7ebbd271444d89218870169624921b795a717470
Parent: 16dcb57
Committed by GitHub <noreply@github.com> on 4/9/2025, 8:08:04 AM