On 11 Nov 2008, at 13:48, Michael Koziarski wrote:

>
>> Something sensible needs to be done to auto_link_urls. It's a hideous
>> regular expression which no one can hope to read, hacked around over
>> the years to add characters here and there but there's always
>> something it doesn't handle. Could we not rewrite this from scratch
>> starting from the grammar given in the RFC on urls (or some other  
>> more
>> complete solution than lobbing a character in here or there)?
>
> Indeed I think it's about time to consider rejigging how all that code
> functions.    Perhaps it's worth looking into adopting addressable or
> something similar?  The URI library from stdlib has some nastiness
> with it's parsing and matching code.
>
> Care to take a look into it?
>
Don't see why not. I'll see what approaches I can dig up.

Fred
>
> -- 
> Cheers
>
> Koz
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to