series index doesn't get all digits
Hello,
I want to add several files to Calibre. The files are named series_-_title_seriesindex.ext or series_-_seriesindex.ext. Series and title may contain numbers. I can't add those files seperatly, and changing the filenames isn't an option.
This is the expression i wanted to use:
(?P<series>[^_]*)-(?P<title>[^_.]*)(?P<series_index>\d+.*)
My problem is, that it doesn't get the whole series index, only two digits. For example, if the index in a filename is 123.4 (some indices are decimal numbers) i get 3.4 as index, the rest is added to the title. If the index is 123 i get 23. The numbers don't have the same number of digits.
Any advice would be appreciated.
Thorsten
|