Re: [Mailman-Users] Pipermail URL handling in archives

2008-02-22 Thread Jim Popovitch
On Fri, Feb 22, 2008 at 9:01 PM, Dov Oxenberg <[EMAIL PROTECTED]> wrote: > > Hi, > Please pardon me for butting in, I will be the first to admit I am probably > the least qualified to give an opinion here, but > :-) > It seems to me this is a DNS issue, no? Simply because the trailing > cha

Re: [Mailman-Users] Pipermail URL handling in archives

2008-02-22 Thread Dov Oxenberg
org> Subject: Re: [Mailman-Users] Pipermail URL handling > in archives> > On Fri, Feb 22, 2008 at 4:03 PM, Mark Sapiro <[EMAIL > PROTECTED]> wrote:> > You could try to find the line> >> > urlpat = > re.compile(r'(\w+://[^>)\s]+)') # URLs in text>

Re: [Mailman-Users] Pipermail URL handling in archives

2008-02-22 Thread Stephen J. Turnbull
Jim Popovitch writes: > On Fri, Feb 22, 2008 at 4:03 PM, Mark Sapiro <[EMAIL PROTECTED]> wrote: > So, the problem seems to appear with commas too which makes me wonder > if this can be resolved with this: > >urlpat = re.compile(r'(\w+://[^>)\s]+?)(\.|,)?(\s|$)') # URLs in text > > but

Re: [Mailman-Users] Pipermail URL handling in archives

2008-02-22 Thread Jim Popovitch
On Fri, Feb 22, 2008 at 7:37 PM, Mark Sapiro <[EMAIL PROTECTED]> wrote: > >Gets converted into: > > this is another url >HREF="http://www.yahoo.com,";>http://www.yahoo.com, > >and so is this >HREF="http://www.ibm.com";>http://www.google.com. > > > I assume that's a typo and 'i

Re: [Mailman-Users] Pipermail URL handling in archives

2008-02-22 Thread Mark Sapiro
Jim Popovitch wrote: >On Fri, Feb 22, 2008 at 4:03 PM, Mark Sapiro <[EMAIL PROTECTED]> 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'(

Re: [Mailman-Users] Pipermail URL handling in archives

2008-02-22 Thread Jim Popovitch
On Fri, Feb 22, 2008 at 4:03 PM, Mark Sapiro <[EMAIL PROTECTED]> 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|$)') #

Re: [Mailman-Users] Pipermail URL handling in archives

2008-02-22 Thread Jim Popovitch
On Fri, Feb 22, 2008 at 4:03 PM, Mark Sapiro <[EMAIL PROTECTED]> 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|$)') #

Re: [Mailman-Users] Pipermail URL handling in archives

2008-02-22 Thread Mark Sapiro
Jim Popovitch wrote: > >I have a problem with some URLs being handled incorrectly. >Specifically URLs that are at the end of a sentence followed by a >period (full stop). Example: > > To enroll visit this site: http://www.domain.tld/cgi-bin/enroll.pl. > >Mailman/Pipermail converts that sentence

[Mailman-Users] Pipermail URL handling in archives

2008-02-22 Thread Jim Popovitch
Hi, I have a problem with some URLs being handled incorrectly. Specifically URLs that are at the end of a sentence followed by a period (full stop). Example: To enroll visit this site: http://www.domain.tld/cgi-bin/enroll.pl. Mailman/Pipermail converts that sentence like so: To enroll vi