🔌 Socket + RabbitMQ setup for download-client touched folders/files

This commit is contained in:
2021-09-18 09:25:59 -07:00
parent 476a55614e
commit be43c163dc
13 changed files with 265 additions and 86 deletions

View File

@@ -4,9 +4,10 @@ export const detectTradePaperbacks = (deck): any => {
const paperback = [
/((trade)?\s?(paperback)|(tpb))/gim, // https://regex101.com/r/FhuowT/1
/(hard\s?cover)\s?(collect((ion)|(ed)|(ing)))/gim, //https://regex101.com/r/eFJVRM/1
/(collected\s?editions)/gim, // https://regex101.com/r/40pAm5/1
/(?:collects|issues|issue)/gim,
];
const miniSeries = [
]
const matches = paperback
.map((regex) => {
return deck.match(regex);