Quote:
Originally Posted by GinoAMelone
[/LIST]The only things it can't handle right now are:[*]Different ordering of the fields in the file name[/LIST]
|
I'm fairly certain this is actually not possible the regex matches that occur work because you know the order of the data as it's fed. If Authors were always in a predictable, recognizable format, you'd be able to identify them, but the way that Calibre is being fed the information, makes it so that it happens in one sweep. You have to know where to look for the Author (or title, or series, etc.) as well as what you're looking for. The most basic expressions here are ones that are written to break on hyphens, because they're predictable.
Unless I'm missing something, I would skip trying to get your expression to handle different orders.