[google-appengine] Re: django urlize

2009-04-23 Thread djidjadji
You must add a space between the _urls_ urlize('djangoproject.com (www.djangoproject.com)', nofollow=True) urlize is very short sighted. the following url will not be matched urlize('www.bbc.co.uk') Any other domain then .com .net .org URLs must be preceded with http:// or https://

[google-appengine] Re: django urlize

2009-04-23 Thread niklasr
solved thanks to djidjadji. a related regex in perl to match any uri, that regex on comp.lang.perl.misc ~ s (?:http://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?)\. )*(?:[a-zA-Z](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?))|(?:(?:\d+)(?:\.(?:\d+)