|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Calibre fan
![]() Posts: 30
Karma: 10
Join Date: Jul 2011
Location: Europe
Device: iRex 800SG, iPhone 3GS (shelved: iRex iLiad, KindleDX, Adam tablet)
|
![]()
I am trying to modify this Metadata 'recipe':
https://www.mobileread.com/forums/sho...d.php?t=118563 "Metadata: Put series into the title, using either initials or a shortened form. Strip leading articles from the series name" .. I wanted to modify the RegExp in Template that generates 'initials' form of Series field, so it also adds any uppercase letters into initials. That would correctly solve series names like "MechWarrior". I tried (also as my exercise in RegEx) but I'm not good enough to solve it, so I'll be glad if anybody can help. Additionaly: To make it more complicated, I have books and series that contain national characters (aka non-Ascii chars aka diacritis) so it would be great if the regex would take all uppercase Unicode characters, not just [A-Z]. I understand that it might not even be possible under Python flavor of RegEx. (Just thinking complexly ![]() Last edited by Riva3000; 05-08-2013 at 04:35 PM. Reason: typos |
![]() |
![]() |
![]() |
Tags |
regexp, regular expression, template, unicode |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issue Editing MetaData in "Series" Field | slammerkin | Library Management | 4 | 12-09-2012 01:33 AM |
Plugboard "Metadata: Show series [series index] - title as title (Kindle)" | Deep Cover | Library Management | 6 | 11-30-2012 05:17 PM |
Changing internal ePub title with "Edit metadata" | therealjoeblow | Conversion | 3 | 11-03-2011 12:01 AM |
Kindle Annotations vs Plugboard rename Title with series initials/numbering | Gwen Morse | Devices | 2 | 09-05-2011 12:58 PM |
Crash on nonexistent "title" metadata element | Valloric | EPUBReader | 3 | 12-10-2009 01:46 PM |