On Friday, May 12, 2017 at 12:33:28 PM UTC+2, Aymeric Augustin wrote:
>
> Django's URL resolver matches URLs as str (Unicode strings), not bytes, 
> after percent and UTF-8 decoding. As a consequence \d matches any 
> character in Unicode character category Nd 
> <http://www.fileformat.info/info/unicode/category/Nd/list.htm>, for 
> example, ١ which is 1 in Arabic (unless you also specified the ASCII flag 
> on the regex)
>

Ha, I was thinking that you might get somewhere along the lines of this. 
That only became an issue with python 3 right? Before regex defaulted to 
re.ASCII.
 

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/214cf377-d740-4d82-bee8-a1c200a82a7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to