View Single Post
Old 05-30-2014, 05:33 AM   #2
myki
Zealot
myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.
 
Posts: 126
Karma: 20236
Join Date: May 2014
Device: Kinde PW v1, Kobo H2O, Onyx Boox T68
I found it myself.

Code:
(\[(?P<series>.*)\-(?P<series_index>.*)\]\s*)?((?P<author>.*) -)?\s*(?P<title>.*) ?
It works for :
author - title.mobi
[Serie-1.5]title.mobi
[Serie-1.5]author - title.mobi

But the title is allways replaced by the one found in the metadata Grrrr.
If i don't use metada, i lose all the other tags.

For now, i want to use a custom column : custom_title

But if i use it in my regular expression (?P<custom_title>) nothing happens !

Any idea, please ??
myki is offline   Reply With Quote