Yeah, i ended up with the series in the title because i can't write a conditional regular expression
When importing books, using just the file name for metadata :
(?P<author>[^-]+) - (?P<title>.*) works only if there is no series
(?P<author>[^-]+) - (?P<series>[^-]+) - (?P<title>.*) works only with series.
Nothing i've tried can identify "2 fields=no series" "3 fields=series) to work with :
Warhammer 40K - Atlas Infernal.rtf
Warhammer 40K - Bastion Wars 01 - Emperor's Mercy.rtf