|
|
#1 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40
Karma: 13888
Join Date: Sep 2010
Device: Kindle FireHD, Kindle3G, iPad, MacBook, iRex Illiad (ret)
|
Dear folks,
I KNOW that I'm missing something which should be obvious. I have tags which I want to exclude from genres in generating a .MOBI catalog. For example, tag 02 Fiction has some uses, but pretty much wastes catalog space; I have more descriptive sub-categories. I no longer use a + tag for Already Read, but didn't think that would matter. I do want to include 02 Fiction.Mystery, 02 Fiction.F&SF, 02 Fiction.F&SF.Alternate History, etc. I thought I read the default tooltip correctly to generate the catalog exclusion as either \[02 Fiction]|\+ or \[.02 Fiction\]|\+ to exclude the genre, but neither works. Yes, I have read the fine manual, but am just not seeing what I'm doing wrong. I'd like to exclude several tags once I figure this out. Is there a limit on the number of those? How would I write this? THANK YOU, esteemed wizards. |
|
|
|
|
|
#2 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 432
Karma: 1720909
Join Date: Mar 2011
Device: Voyage, K3
|
Code:
02 Fiction Code:
02 Fiction.Mystery|02 Fiction.F&SF Code:
^02 Fiction [ has a special meaning in reg-ex, and a \ in front means that it should be read as a normal character. So if your tag was [02 Fiction] your reg-ex would be \[02 Fiction\] |
|
|
|
|
|
#3 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40
Karma: 13888
Join Date: Sep 2010
Device: Kindle FireHD, Kindle3G, iPad, MacBook, iRex Illiad (ret)
|
Thank you. Thank you. I knew I was overcomplicating this. Just excluding 02 Fiction also did exclude the subgenres which started with 02 Fiction.Whatever. I just renamed the first tag and left the rest alone. This accomplished exactly what I wanted.
I'm sorry to have had to have asked. As I said, the Reg Ex Help was clear, and I did read it, but for some reason I just wasn't getting it. I really appreciate the help. |
|
|
|
|
|
#4 | |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 475062
Join Date: Aug 2012
Device: nook simple touch
|
Quote:
Code:
02\sFiction\..* all of this Code:
include 02 Fiction.Mystery, 02 Fiction.F&SF, 02 Fiction.F&SF.Alternate History Last edited by lrui; 08-20-2012 at 12:51 AM. |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reg-ex help...? | ElMiko | Sigil | 11 | 12-06-2011 01:41 AM |
| Reg expression for importing | Debby | Library Management | 2 | 02-17-2011 12:20 PM |
| DRM prob obvious question | BBel | Calibre | 1 | 06-07-2010 12:47 AM |