View Single Post
Old 02-13-2026, 07:19 PM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,512
Karma: 62503986
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by CoreyEMTP View Post
For those curious or who have a similar file layout, here's the regex that finally worked:

Code:
^(?P<author>.+?)\s-\s(?P<title>(?:(?!\s[\(\[]).)+)(?:\s\((?P<published>\d{4})\))?(?:\s\[(?P<isbn>\d{10,13})\])?$
...and this is in 9.2.1, so yes it absolutely does have a (?P<isbn>)
Then Kovid must have made a special x-reference to identifiers, as He removed the (unused) ISBN column according to the release notes.
theducks is offline   Reply With Quote