View Single Post
Old 07-30-2009, 03:40 PM   #3
myle00
Connoisseur
myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.myle00 has a complete set of Star Wars action figures.
 
myle00's Avatar
 
Posts: 71
Karma: 422
Join Date: Jun 2009
Device: Palm Treo
I just tested it, this seems to work with both "King, Stephen - The Dark Tower 01 - Gunslinger.txt" and with "J. K. Rowling - Harry Potter and the Goblet of Fire.txt"
Code:
(?P<author>.+?) - ((?P<series>.+) (?P<series_index>\d+) - )?(?P<title>.+)
lemme know if it works for you.
Matt

btw, don't forget that when you test it, the test name needs to end with a ".xxx" i.e. any extension.
myle00 is offline   Reply With Quote