Quote:
Originally Posted by killo3967
Hi enrique.
I'm not in phyton, and anyone reading this is likely to cut their wrists, but this work for me.
Code:
http://www.lecturalia.com/libros/s/{title:'lowercase(re(re(re(re(re(re($,"ú","u" ),"ó","o" ),"í","i" ),"é","e" ),"á","a" )," ","-" ))'}
|
My eyes are burning just looking at that. But, I understand completely why you did it. Luckily, the "transliterate" function appears to solve the problem:
Code:
http://www.lecturalia.com/libros/s/{title:'lowercase(re(transliterate($)," ","-"))'}
I don't have many title with accented characters in them, so I don't know if it covers everything.