I'm curious too :?
Your regex has 4 parts (I think)
How will Calibre work out what part(s) (of the file name?) aren't there?
As I see it, series AND series number can be absent so how does Calibre know that parts 2 & 3 aren't there? Or part 3 only could be missing?
I suppose I can play around with a test library and a collection of various test books
I currently am happy with the stock standard -
(?P<title>.+) - (?P<author>[^_]+)
My current format, which I hope to process manually, doesn't have a separator between series and number:-
Series 1 - Title - A N Author.pdf
Series 2 - Title - A N Author.pdf
Series 3 - Title - A N Author.pdf etc
I currently change this to:-
Series 1, Title - A N Author.pdf
Series 2, Title - A N Author.pdf
Series 3, Title - A N Author.pdf etc
so series info is part of the title to manually process the series info later
So much to learn, so little time....