View Single Post
Old 08-07-2014, 10:07 PM   #3211
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,037
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
I've made a cover for the stories which are both Buffy & Angel i Category/Fandom. How do I input that info in my personal.ini? I've tried the following:

Code:
${category} => Angel + Buffy:? [tT]he Vampire Slayer => AngelBuffyCover
But it doesn't seem to work.
That pattern literally matches: "Angel<one or more spaces> Buffy..."

You'll have read a bit about regular expressions and experiment and see what works. I'd start with something like:
Code:
${category} => (Angel.*Buffy:? [tT]he Vampire Slayer)|(Buffy:? [tT]he Vampire Slayer).*Angel) => AngelBuffyCover
This pattern should match: "Angel<anything>Buffy... or Buffy...<anything>Angel"
JimmXinu is offline