Confusing textwrap parameters, and request for RE help

Chris Angelico rosuav at gmail.com
Tue Mar 24 05:20:32 EDT 2020


On Tue, Mar 24, 2020 at 8:19 PM Karsten Hilbert <Karsten.Hilbert at gmx.net> wrote:
>
> On Tue, Mar 24, 2020 at 08:08:31PM +1100, Chris Angelico wrote:
>
> > Well um... yes. I think we know that hyphens do indicate word-split
> > points. That's not really in question.
>
> I know you don't mean it like that, but it sounds equally
> future-proof like "all text is ASCII".
>

Sure, but I'm not really disputing that part. You can disable it anyway.

I'm trying to figure out a way to handle URLs, and that's something
that has its own governing standard, so the meanings of characters
like hyphens is well defined.

ChrisA


More information about the Python-list mailing list