packages feed

epub-tools-2.2: src/EpubTools/EpubName/Doc/Rules.hs

-- Copyright: 2013 Dino Morelli
-- License: BSD3 (see LICENSE)
-- Author: Dino Morelli <dino@ui3.info>

module EpubTools.EpubName.Doc.Rules
   ( defaults
   )
   where


defaults :: String
defaults = unlines
   [ "magAeon"
   , "   titlePat \"^A[eE]on ([^ ]+)$\""
   , "   name \"AeonMagazine(wordNum 2 1)\""
   , ""
   , "magAnalog"
   , "   titlePat \"^(A[^ ]*).*, ([^ ]+) ([0-9]{4})$\""
   , "   name \"(scrub 1)SF(3)-(monthNum 2)\""
   , ""
   , "magApex"
   , "   titlePat \"^(Apex)[^0-9]*([0-9]+)$\""
   , "   name \"(scrub 1)Magazine(pad 3 2)\""
   , ""
   , "magBcs"
   , "   titlePat \"(Beneath Ceaseless.*) #([0-9]+).*\""
   , "   name \"(scrub 1)_Issue(pad 3 2)\""
   , ""
   , "magBlackStatic"
   , "   titlePat \"^(Black Static Horror Magazine)[^0-9]*([0-9]+)$\""
   , "   name \"(scrub 1)(pad 2 2)\""
   , ""
   , "magChallengingDestiny"
   , "   titlePat \"^(Challenging Destiny) #([0-9]+).*\""
   , "   name \"(scrub 1)Magazine(pad 3 2)\""
   , ""
   , "magClarkesworld"
   , "   titlePat \"^(Clarkesworld)[^0-9]*([0-9]+)$\""
   , "   name \"(1)(pad 3 2)\""
   , ""
   , "magFantasyMag"
   , "   titlePat \"^(Fantasy Magazine)[^0-9]+([0-9]+).*\""
   , "   name \"(scrub 1)(pad 3 2)\""
   , ""
   , "magEclipse_word"
   , "   titlePat \"^(Eclipse) +([a-zA-Z]+)$\""
   , "   name \"(1)(wordNum 2 2)\""
   , ""
   , "magEclipse_num"
   , "   titlePat \"^(Eclipse) +([0-9]+):.*\""
   , "   name \"(1)(pad 2 2)\""
   , ""
   , "magFsf"
   , "   authorMatch \"Spilogale\""
   , "   titlePat \".* ([^ ]+) ([0-9]{4})$\""
   , "   name \"FantasyScienceFiction(2)-(monthNum 1)\""
   , ""
   , "magFutureOrbits"
   , "   titlePat \"(Future Orbits) Issue ([0-9]+), ([^ ]+) ([0-9]{4})$\""
   , "   name \"(scrub 1)Magazine(pad 2 2)_(4)-(monthNum 3)\""
   , ""
   , "magGud"
   , "   authorMatch \"GUD Magazine Authors\""
   , "   titlePat \".* Magazine Issue ([0-9]+) ::.*\""
   , "   name \"GUDMagazine(pad 2 1)\""
   , ""
   , "magInterzone_old"
   , "   titlePat \"^(Interzone)[^0-9]*([0-9]+)$\""
   , "   name \"(1)SFF(pad 3 2)\""
   , ""
   , "magInterzone"
   , "   titlePat \"^(Interzone) ([0-9]+).*$\""
   , "   name \"(1)SFF(pad 3 2)\""
   , ""
   , "magLightspeed_date"
   , "   titlePat \"(Lightspeed) Magazine, (.*) (.*)\""
   , "   name \"(1)(3)-(monthNum 2)\""
   , ""
   , "magLightspeed_issue"
   , "   titlePat \"(Lightspeed).* Issue (.*)\""
   , "   name \"(1)(pad 3 2)\""
   , ""
   , "magNemesis"
   , "   titlePat \"(Nemesis Mag)azine #([0-9]+).*\""
   , "   name \"(scrub 1)(pad 3 2)\""
   , ""
   , "magRageMachine"
   , "   titlePat \"(Rage Machine.*)--([^ ]+) ([0-9]{4})$\""
   , "   name \"(scrub 1)_(3)-(monthNum 2)\""
   , ""
   , "magSomethingWicked"
   , "   titlePat \"^(Something Wicked)[^0-9]*([0-9]+)\""
   , "   name \"(scrub 1)(pad 3 2)\""
   , ""
   , "magUniverse"
   , "   titlePat \"^(Jim Baen's Universe)-Vol ([^ ]+) Num ([^ ]+)\""
   , "   name \"(scrub 1)Vol(pad 2 2)Num(pad 2 3)\""
   , ""
   , "magWeirdTales"
   , "   titlePat \"^(Weird Tales)[^0-9]*([0-9]+)$\""
   , "   name \"(scrub 1)(pad 3 2)\""
   , ""
   , "magLocus"
   , "   titlePat \"^(Locus), ([a-zA-Z]+) ([0-9]{4})$\""
   , "   name \"(scrub 1)Magazine(3)-(monthNum 2)\""
   , ""
   , "anthology"
   , "   subjectMatch \"anthology\""
   , "   titlePat \"(.*)\""
   , "   name \"(scrub 1)(year)\""
   , ""
   , "ordinary_book"
   , "   titlePat \"(.*)\""
   , "   name \"(authors)(scrub 1)(year)\""
   ]