View Single Post
Old 02-09-2013, 02:12 AM   #1
theichens
Junior Member
theichens began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2013
Device: Odys Touch
Need help with RegExp

Hello,

i have the following problem:
My filename looks like that: Wilhelm, Jan--Das Haus_Steinstrasse.epub
Now when i import this file into calibre, i use the regexpression:
(?P<author>.+?)--(?P<title>.+)
The following occurs:
Author: Wilhelm, Jan
Title: Das Haus Steinstrasse <-- the underscore is lost

How do i have to change the regexpr to get the title as given in the
filename "Das Haus_Steinstrasse" ?

Thank you very much for your help.
theichens is offline   Reply With Quote