I understand the encoding issue.

I modified the regex to:

^(?<depto>[a-zA-Z0-9%\\\-]+)/(?<city>[a-zA-Z0-9%\\\-]+)/$

With this test string:

re.match(r'^(?P<depto>[a-zA-Z0-9\%\\\-]+)/(?P<city>[a-zA-Z0-9\%\\\-]+)/$',r'Medell%C3%ADn/Medell\xEDn/').groups()

Work outside django but not inside it...

In where I need to look to see exactly what is evaluated?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to