View Single Post
Old 08-13-2012, 08:23 PM   #2
whooleeo
Junior Member
whooleeo can extract oil from cheesewhooleeo can extract oil from cheesewhooleeo can extract oil from cheesewhooleeo can extract oil from cheesewhooleeo can extract oil from cheesewhooleeo can extract oil from cheesewhooleeo can extract oil from cheesewhooleeo can extract oil from cheesewhooleeo can extract oil from cheese
 
Posts: 2
Karma: 1234
Join Date: Aug 2012
Device: Nexus 7, Nook
Talking

I found the template function re(arg1,arg2) and i think this is the one I need, but I'm not sure how to build a python compliant regular expression to replace an apostrophe with "nothing". Any pointers are appreciated!

edit: found it. use the following in your save to disk template to remove apostrophes from the file and folder names of your books:

{author_sort:re(',)}/{title:re(',)}/{title:re(',)} - {authors:re(',)}

This will prevent you from getting the nook app bug in Android.

Good luck!

Last edited by whooleeo; 08-13-2012 at 08:58 PM.
whooleeo is offline   Reply With Quote