[Mailman-Users] Pipermail URL handling in archives

Jim Popovitch yahoo at jimpop.com
Fri Feb 22 22:09:49 CET 2008


On Fri, Feb 22, 2008 at 4:03 PM, Mark Sapiro <mark at msapiro.net> wrote:
>  You could try to find the line
>
>  urlpat = re.compile(r'(\w+://[^>)\s]+)') # URLs in text
>
>  near the beginning of Mailman/Archiver/HyperArch.py and change it to
>
>  urlpat = re.compile(r'(\w+://[^>)\s]+?)\.?(\s|$)') # URLs in text
>
>  Note this re is very lightly tested and may not work in all cases.

As always, Thank you Mark.

>  Of course, if you can get the posters to surround their URLs with <>,
>  there is no problem.

:-) Herding cats would be easier.

Thanks again,

-Jim P.


More information about the Mailman-Users mailing list