Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 04-25-2025, 06:48 PM   #10651
BigBee
Junior Member
BigBee began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2025
Device: Android
Quote:
2025-04-23
- adapter_archiveofourownorg: Add use_archiveofourown_gay, allow archiveofourown.gay input for story URLs.
Other users seem to have gotten this to work, but I cannot. Provides the same "HTTP Error in FFF '525 Server Error:" that attempting to use use_archive_transformativeworks_org results in on affected stories. For now cache is working but is quite inconvenient when updating a large number of stories at once.

I understand this is an ongoing issue with Ao3, but just wanted to throw out that this was not a perfect workaround.

Quote:
FYI, I've added a new wiki page titled ProblematicSites to try to document the ongoing (and going and going) problems, especially with ffnet and AO3.
I do appreciate the new ProblematicSites page. This is my first post here, but I have frequented this thread over the years, and the most difficult part was always tracking down all the elements needed for hotfixes in one coherent order. Every issue being jammed in one thread makes it hard to navigate and keep track of who is responding to what issues, and what pieces you actually need. User-friendly would be the term, I suppose.
BigBee is offline   Reply With Quote
Old 04-25-2025, 06:48 PM   #10652
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,646
Karma: 74166147
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
FYI, I've added a new wiki page titled ProblematicSites to try to document the ongoing (and going and going) problems, especially with ffnet and AO3.

I've also done some moderate editing to the BrowserCacheFeature page and minor editing to the ProxyFeatures page.

Feedback is welcome.
This made me realize that the FanFicFare and eReaders page has spaces in the name, unlike most others. Should this be fixed?
ownedbycats is offline   Reply With Quote
Old 04-25-2025, 06:58 PM   #10653
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: 6,833
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by BigBee View Post
Other users seem to have gotten this to work, but I cannot. Provides the same "HTTP Error in FFF '525 Server Error:" that attempting to use use_archive_transformativeworks_org results in on affected stories. For now cache is working but is quite inconvenient when updating a large number of stories at once.
How many downloads/updates were you doing?

Quote:
Originally Posted by BigBee View Post
I do appreciate the new ProblematicSites page. This is my first post here, but I have frequented this thread over the years, and the most difficult part was always tracking down all the elements needed for hotfixes in one coherent order. Every issue being jammed in one thread makes it hard to navigate and keep track of who is responding to what issues, and what pieces you actually need. User-friendly would be the term, I suppose.
While one could argue that individual named threads for each issue would prevent duplication of reporting, the fact I can have 2 or 3 people open github issues for the same problem argues against it. Ditto all the duplicate threads that happen on MR in general.

There are pros and cons and I don't currently seen enough to motivate a change.

Quote:
Originally Posted by ownedbycats View Post
This made me realize that the FanFicFare and eReaders page has spaces in the name, unlike most others. Should this be fixed?
I wouldn't bother. There are several others.
JimmXinu is offline   Reply With Quote
Old 04-26-2025, 06:17 PM   #10654
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,646
Karma: 74166147
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: Sometimes see "Title", enclose entire title. Regex to remove those without affecting other quotation marks?

Last edited by ownedbycats; 04-26-2025 at 06:55 PM.
ownedbycats is offline   Reply With Quote
Old 04-26-2025, 07:18 PM   #10655
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: 6,833
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Probably a regexp something like:
Code:
 ^"(.*?)"$=>\1
I'd need an example story to experiment with to tell for sure.
JimmXinu is offline   Reply With Quote
Old 04-26-2025, 09:50 PM   #10656
wildfire070
Enthusiast
wildfire070 began at the beginning.
 
Posts: 45
Karma: 10
Join Date: May 2012
Device: Kindle Oasis, Scribe, Paperwhite // Boox Palma
Quote:
Originally Posted by JimmXinu View Post
FYI, I've added a new wiki page titled ProblematicSites to try to document the ongoing (and going and going) problems, especially with ffnet and AO3.
I read through the wiki on this and copy/pasted the code listed to use archiveofourown.gay, but came up with errors. Seems that there's a typo on the wiki.

The code listed is
Code:
use_archiveofourown_gay_org:true
but should be
Code:
use_archiveofourown_gay:true
After removing the "_org" part, it works great. I'm glad I don't have to mess with the browser cache anymore.
wildfire070 is offline   Reply With Quote
Old 04-26-2025, 11:15 PM   #10657
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: 6,833
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by wildfire070 View Post
I read through the wiki on this and copy/pasted the code listed to use archiveofourown.gay, but came up with errors. Seems that there's a typo on the wiki.

The code listed is
Code:
use_archiveofourown_gay_org:true
but should be
Code:
use_archiveofourown_gay:true
After removing the "_org" part, it works great. I'm glad I don't have to mess with the browser cache anymore.
Thanks, fixed.
JimmXinu is offline   Reply With Quote
Old 04-26-2025, 11:23 PM   #10658
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: 6,833
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2025-04-26
- Remove base_xenforoforum_adapter, consolidate into base_xenforo2forum_adapter

All of the supported XenForo sites are on XF2 now.

Ideally, it should be an invisible change from the outside. But I think the INI precedence order of [base_xenforo2forum] vs [<site>] and [base_xenforoforum] may have been wrong before. Seems rather unlikely anyone is depending on that.
JimmXinu is offline   Reply With Quote
Old 04-27-2025, 12:00 AM   #10659
BigBee
Junior Member
BigBee began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2025
Device: Android
Quote:
Originally Posted by JimmXinu View Post
How many downloads/updates were you doing?
I tend to update in batches so I can keep up with tag maintenance (I add a lot of custom tags and updating erases them). Initially I tried to do 10 at a time, which has historically been my go to, and when that failed I pared it down to 5, and when that didn't work, to 1. None worked with the archiveofourown.gay method. Actually, it was worse than the transformativeworks.org method, as the .gay one wouldn't even download unlocked works, which transformativeworks can still do.

Cache method slows things down because I have to do them one at a time or it makes using my browser nigh-impossible, as I have to use the 'open page' method to make it work. It's not some insurmountable thing, more of a convenience thing since I can't really walk away to do other things what with the tag updates I do. That's my own fault, though.

Quote:
Originally Posted by JimmXinu View Post
While one could argue that individual named threads for each issue would prevent duplication of reporting, the fact I can have 2 or 3 people open github issues for the same problem argues against it. Ditto all the duplicate threads that happen on MR in general.

There are pros and cons and I don't currently seen enough to motivate a change.
Understandable, there is no perfect solution that will work for everyone and every problem that happens. I do think having a set location for issues regarding the most common issues/sites makes sense, though, for casual readers of the thread who just want fixes and not necessarily want to understand the how/why discussion. I imagine the average reader is not programming/web savvy enough to parse everything said in this thread but is somewhat capable of following instructions (like me).
BigBee is offline   Reply With Quote
Old 04-28-2025, 03:07 AM   #10660
Ghostcat
Connoisseur
Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.
 
Posts: 61
Karma: 582370
Join Date: Apr 2023
Device: Kobo Clara 2E
Quote:
Originally Posted by BigBee View Post
... (I add a lot of custom tags and updating erases them)...
Do you have the "Keep the Existing Tags when Updating Metadata" box checked in FFF Configure?

FFF does not erase any of my custom tags.
Ghostcat is offline   Reply With Quote
Old 04-28-2025, 10:25 AM   #10661
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: 6,833
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2025-04-28
- adapter_literotica: get_urls_from_page - series have urls, thanks dbhmw
- Update translations.
JimmXinu is offline   Reply With Quote
Old 04-28-2025, 12:15 PM   #10662
icecold
Enthusiast
icecold began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Mar 2020
Device: Android,
So I think I've tracked down my issue with basically all my ao3 downloads getting complete stuck at "Downloading metadata for stories."

It seems like something about my add_to_replace_metadata section is causing the issue. If I remove that portion, I can download fics is just fine. I'm not sure if it's a bit of very promblematic regex or it it's the sheer length length of it.

https://archiveofourown.org/works/37...pters/93281329

Here's the ao3 part of my .ini. I also included Calibre's debug log.
Spoiler:
Code:
[archiveofourown.org]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config.  In
## commandline version, this should go in your personal.ini, not
## defaults.ini.
always_login:true
username:****
password:****


## When set true, this setting causes the AO3 code in FFF to replace
## archiveofourown.org with archiveofourown.gay before every network
## request.  This does *not* change the story or chapter URLs saved by
## FFF, they will still be archiveofourown.org.

#use_archiveofourown_gay_org:true
use_archiveofourown_gay:true

#use_archive_transformativeworks_org:true

## Some sites also require the user to confirm they are adult for
## adult content.  In commandline version, this should go in your
## personal.ini, not defaults.ini.
is_adult:true

#For downloading a boat-ton of fics
slow_down_sleep_time:4

## AO3 offers a page to download the entire work at once.  This can
## save a lot of network traffic if there are many chapters.
## True by built-in default.
use_view_full_work:true

use_browser_cache:false
use_browser_cache_only:false
open_pages_in_browser:false

## By default, empty tags are removed as part of cleaning up the
## source HTML.  However, a few tags should be kept even if empty.
## (Whitespace only, including &nbsp; is considered empty.)  This
## setting can adjust which tags are kept.
keep_empty_tags:td,th

include_subject_tags:extratags, freefromtags, ao3categories, genre, warnings, extrawarnings

exclude_metadata_pre:
 freeformtags,genre==Other Additional Tags to Be Added
 warnings==Creator Chose Not To Use Archive Warnings
 warnings==No Archive Warnings Apply

## AO3 chapters have 'date' available for each chapter.
## These can be used with custom output (see
## https://github.com/JimmXinu/FanFicFare/wiki/CustomOutput ) or with
## chapter_title_*_pattern settings.
## Examples for html & epub:
#[html]
#tocpage_entry:
# <a href="#section${index04}">${chapter}</a> ${date}<br />
#[epub]
tocpage_entry:
 <a href="file${index04}.xhtml">${chapter}</a> ${date}<br /><br />

## The 'date' value for chapters mentioned above can be formated with
## datechapter_format.  Otherwise it will default to
## datePublished_format
datechapter_format:%%m-%%d-%%Y

add_to_output_css:
 .fff_chapter_notes > blockquote { /* I wanted to add more distinction before author's notes and the story */
  border-left: 4px solid currentcolor;
  padding-left: .5em;
  margin-top: -.5em;
 }

extratags:PMMMM
exclude_metadata_post:
 extratags==PMMMM


add_to_replace_metadata:
##-----------------------------------Other Tag Replacements: (Ao3)
 extratags,freeformtags=>(Action|Angst|Drama|Fluff|Humor|Comedy|Romance|Smut) (?:&amp;|and) (Action|Angst|Drama|Fluff|Humor|Comedy|Romance|Smut)=>\1\, \2
 extratags,freeformtags=>Angst with a Happy Ending=>Angst\, Happy Ending
 extratags,freeformtags=>Post\-Canon=>Post Canon
 extratags,freeformtags=>Post\-Series=>Post Canon
 extratags,freeformtags=>Post Series=>Post Canon
 extratags,freeformtags=>Post\-?Game(?:\(s\))?=>Post Canon
 extratags,freeformtags=>One Shot=>Oneshot
 extratags,freeformtags=>i love these two=>
 extratags,freeformtags=>[pP]ost\-[tT]raumatic [sS]tress [dD]isorder \- PTSD=>PTSD
 extratags,freeformtags=>[Aa]rtificial [Ii]ntelligence=>AI
 extratags,freeformtags=>[Aa]lternate [Uu]niverse=>AU
 extratags,freeformtags=>[Ff]emale [Ff]riendship=>Friendship
 extratags,freeformtags=>[Nn][Oo](?:[tT])? [Bb][Ee][Tt][Aa].*=>
 extratags,freeformtags=>Urban Fantasy=>Fantasy\, Fantasy.Urban
 extratags,freeformtags=>Other Relationship Tags to Be Added=>

##-----------------------------------Generic Fandom Cleanup: (Ao3)
 category=>\((Video )Games?\)=>
 category=>\([Aa]nime\)=>
 category=>\([Mm]anga\)=>
 category=>\(Anime \& Manga\)=>
 category=>\(Games?\)=>
 category=>\(Video Games?\)=>
 category=> \- All Media Types=>
 category=> \- Fandom=>
 category=> \(Movies\)=>
 category=>(?:.*)?Jujutsu Kaisen(?:.*)?=>Jujutsu Kaisen
 characters=>(?: \- Character)=>

##-----------------------------------Generic Adding Fandom Abbreviations to Character Names (Ao3)
 characters,ships=>(?:.*\.)*?(.+)=>AK.\1&&category=>Arknights
 characters,ships=>(?:.*\.)*?(.+)=>AtLA.\1&&category=>Avatar\: The Last Airbender
 characters,ships=>(?:.*\.)*?(.+)=>AL.\1&&category=>Azur Lane
 characters,ships=>(?:.*\.)*?(.+)=>Bleach.\1&&category=>Bleach
 characters,ships=>(?:.*\.)*?(.+)=>BtVS.\1&&category=>Buffy: The Vampire Slayer
 characters,ships=>(?:.*\.)*?(.+)=>Criminal Minds.\1&&category=>Criminal Minds
 characters,ships=>(?:.*\.)*?(.+)=>DaL.\1&&category=>Date A Live
 characters,ships=>(?:.*\.)*?(.+)=>Disgaea.\1&&category=>Disgaea
 characters,ships=>(?:.*\.)*?(.+)=>DH.\1&&category=>Dishonored
 characters,ships=>(?:.*\.)*?(.+)=>GI.\1&&category=>Genshin Impact
 characters,ships=>(?:.*\.)*?(.+)=>HDN.\1&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)*?(.+)=>HI3.\1&&category=>Honkai Impact 3rd
 characters,ships=>(?:.*\.)*?(.+)=>HK.\1&&category=>Hollow Knight
 characters,ships=>(?:.*\.)*?(.+)=>HP.\1&&category=>Harry Potter
 characters,ships=>(?:.*\.)*?(.+)=>LLtQ.\1&&category=>Long Live [Tt]he Queen
 characters,ships=>(?:.*\.)*?(.+)=>LWA.\1&&category=>Little Witch Academia
 characters,ships=>(?:.*\.)*?(.+)=>N.\1&&category=>Naruto
 characters,ships=>(?:.*\.)*?(.+)=>OSfE.\1&&category=>One Step From Eden
 characters,ships=>(?:.*\.)*?(.+)=>PMMM.\1&&category=>Puella Magi Madoka Magica
 characters,ships=>(?:.*\.)*?(.+)=>R1/2.\1&&category=>Ranma
 characters,ships=>(?:.*\.)*?(.+)=>RWBY.\1&&category=>RWBY
 characters,ships=>(?:.*\.)*?(.+)=>Slayers.\1&&category=>Slayers
 characters,ships=>(?:.*\.)*?(.+)=>SE.\1&&category=>Soul Eater
 characters,ships=>(?:.*\.)*?(.+)=>SW.\1&&category=>Star Wars
 characters,ships=>(?:.*\.)*?(.+)=>TR.\1&&category=>Tomb Raider
 characters,ships=>(?:.*\.)*?(.+)=>TH.\1&&category=>Touhou Project
 characters,ships=>(?:.*\.)*?(.+)=>Twilight.\1&&category=>Twilight
 characters,ships=>(?:.*\.)*?(.+)=>VA.\1&&category=>VA\-11 Hall\-A


##-----------------------------------Metadata Replacements:  Naruto (Ao3)
 characters,ships=>\(Naruto\)=>
 
 characters,ships=>Hyuuga=>Hyuga
 
 characters,ships=>(?:.*\.)*(?:Dai\-nana\-han \| )Team 7=>N.Team 7&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Dai\-hachi\-han \| )Team 8=>N.Team 8&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Dai\-jippan \| )Team 10=>N.Team 10&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Kiri no Shinobigatana Shichinin Shuu \| )Seven Swordsmen of the Mist=>N.Seven Swordsmen of the Mist&&category=>Naruto

 characters,ships=>(?:.*\.)*(?:Maito Gai \| Might Guy)=>N.Gai Maito&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Yamato \| Tenzou)=>N.Yamato&&category=>Naruto

 characters,ships=>(?:.*\.)*(?:Hatake Kakashi|Kakashi Hatake)=>N.Kakashi Hatake&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Uzumaki Naruto|Naruto Uzumaki)=>N.Naruto Uzumaki&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Uchiha Sasuke|Sasuke Uchiha)=>N.Sasuke Uchiha&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Uchiha Itachi|Itachi Uchiha)=>N.Itachi Uchiha&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Haruno Sakura|Sakura Haruno)=>N.Sakura Haruno&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Jiraiya(?: \(Naruto\))?)=>N.Jiraiya&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Uchiha Obito|Obito Uchiha)=>N.Obito Uchiha&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Momochi Zabuza|Zabuza Momochi)=>N.Zabuza Momochi&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Senju Tsunade|Tsunade Senju)=>N.Tsunade Senju&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Hyuga Hinata|Hinata Hyuga)=>N.Hinata Hyuga&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Hyuga Neji|Neji Hyuga)=>N.Neji Hyuga&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Nara Yoshino|Yoshino Nara)=>N.Yoshino Nara&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Nara Shikaku|Shikaku Nara)=>N.Shikaku Nara&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Nara Shikamaru|Shikamaru Nara)=>N.Shikamaru Nara&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Shiranui Genma|Genma Shiranui)=>N.Genma Shiranui&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Yamanaka Ino|Ino Yamanaka)=>N.Ino Yamanaka&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Yamanaka Inoichi|Inoichi Yamanaka)=>N.Inoichi Yamanaka&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Namikaze Minato|Minato Namikaze)=>N.Minato Namikaze&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Kushina Uzumaki|Uzumaki Kushina)=>N.Kushina Uzumaki&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Inuzuka Kiba|Kiba Inuzuka)=>N.Kiba Inuzuka&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Yamashiro Aoba|Aoba Yamashiro)=>N.Aoba Yamashiro&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Terumi Mei|Mei Terumi)=>N.Mei Terumi&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Hoo?zuki Suigetsu|Suigetsu Hoo?zuki)=>N.Suigetsu Hozuki&&category=>Naruto
 characters,ships=>(?:.*\.)*(?:Ringo Ameyuri|Ameyuri Ringo)=>N.Ameyuri Ringo&&category=>Naruto
 
 characters,ships=>(?:.*\.)*\b(Uzumaki|Uchiha|Haruno|Hatake|Namikaze|Senju|Yamanaka|Nara|Akimichi|Inuzuka|Hyuu?ga|Aburame|Sarutobi|Yuu?hi|Mitarashi|Shiranui|Yamashiro|Yakushi|Nohara|Shimura|Hoshigaki|Momochi|Kurama|Morino|Hagane|Kamizuki|Namiashi|Gekkou|Uzuki|Umino|Karatachi)\b (\b\w*\b)=>N.\2 \1&&category=>Naruto
##-----------------------------------Metadata Replacements:  Harry Potter (Ao3)
 category=>Harry Potter - J\. K\. Rowling=>Harry Potter
 characters,ships=>(?:.*\.)*Harry Potter=>HP.Harry Potter
 characters,ships=>(?:.*\.)*Nymphadora Tonks=>HP.Nymphadora Tonks
 characters,ships=>(?:.*\.)*Hermione Granger=>HP.Hermione Granger
 characters,ships=>(?:.*\.)*Ron Weasley=>HP.Ron Weasley
 characters,ships=>(?:.*\.)*Albus Dumbledore=>HP.Albus Dumbledore
 characters,ships=>(?:.*\.)*Sirius Black=>HP.Sirius Black
 characters,ships=>(?:.*\.)*Luna Lovegood=>HP.Luna Lovegood
 characters,ships=>(?:.*\.)*Daphne Greengrass=>HP.Daphne Greengrass
 characters,ships=>(?:.*\.)*Tracey Davis=>HP.Tracey Davis

 characters=>(?:.*\.)*The Weasley Family=>HP.Weasley Familiy

 extratags,freeformtags=>Female Harry Potter=>Genderbent.Harry Potter

##-----------------------------------Metadata Replacements:  Fate Stay Night (Ao3)
 category=>Fate/stay night &amp; Related Fandoms=>Nasu.Fate/Stay Night
 characters=>Matou Sakura=>Nasu.FSN.Sakura Matou
##-----------------------------------Metadata Replacements:  Kara no Kyoukai (Ao3)
 category=>Kara no Kyoukai \| The Garden of Sinners=>Nasu.Kara no Kyoukai
 characters=>Ryougi Shiki=>Nasu.KnK.Shiki Ryougi
 characters=>Aozaki Touko=>Nasu.KnK.Touko Aozaki
 characters=>Kokutou Mikaya=>Nasu.KnK.Mikaya Kokutou
 characters=>Kokutou Azaka=>Nasu.KnK.Azaka Kokutou
 characters=>Asagami Fujino=>Nasu.KnK.Fujino Asagami
 characters=>Shirazumi Lio=>Nasu.KnK.Lio Shirazumi
 characters=>Ryougi Mana=>Nasu.KnK.Mana Ryougi
 ships=>Ryougi Shiki=>Shiki Ryougi
 ships=>Aozaki Touko=>Touko Aozaki
 ships=>Kokutou Mikaya=>Mikaya Kokutou
 ships=>Kokutou Azaka=>Azaka Kokutou
 ships=>Asagami Fujino=>Fujino Asagami
 ships=>Ryougi Mana=>Mana Ryougi
##-----------------------------------Metadata Replacements:  Ranma 1/2 (Ao3)
 characters,ships=>\(Ranma 1/2\)=>

 characters=>Nerima Wrecking Crew=>R1/2.Nerima Wrecking Crew
 characters,ships=>(?:.*\.)*(?:Saotome Ranma|Ranma Saotome)=>R1/2.Ranma Saotome&&category=>Ranma

 characters,ships=>Ryouga=>Ryoga&&category=>Ranma
 characters,ships=>Ukyou=>Ukyo&&category=>Ranma
 characters,ships=>Souun=>Soun&&category=>Ranma
 characters,ships=>Tendou=>Tendo&&category=>Ranma
 characters,ships=>Kunou=>Kuno&&category=>Ranma

 characters,ships=>(?:.*\.)*\b(Tendo|Hibiki|Saotome|Kuonji|Kuno)\b (\b\w*\b)=>R1/2.\2 \1&&category=>Ranma


##-----------------------------------Metadata Replacements:  Sailor Moon (Ao3)
 category=>Bishoujo Senshi Sailor Moon \| Pretty Guardian Sailor Moon \(Anime &amp; Manga\)=>Sailor Moon
 characters=>Aino Minako=>SM.Minako Aino
 characters=>Sailor Senshi=>SM.Sailor Senshi
##-----------------------------------Metadata Replacements:  Raildex | A Certain Scientific Railgun | A Certain Magical Index (Ao3)
 category=>Toaru Majutsu no Index \| A Certain Magical Index=>RailDex
 category=>Toaru Kagaku no Railgun \| A Certain Scientific Railgun=>RailDex
 characters,ships=>(?:.*\.)*?Misaka Mikoto=>RD.Mikoto Misaka
 characters,ships=>(?:.*\.)*?Shokuhou Misaki=>RD.Misaki Shokuhou
 characters,ships=>(?:.*\.)*?Shirai Kuroko=>RD.Kuroko Shirai
 characters,ships=>(?:.*\.)*?Uiharu Kazari=>RD.Kazari Uiharu
 characters,ships=>(?:.*\.)*?Saten Ruiko=>RD.Ruiko Saten
 characters,ships=>(?:.*\.)*Hokaze Junko=>RD.Junko Hokaze
 characters,ships=>(?:.*\.)*Dolly \(Toaru Kagaku no Railgun\)=>RD.Dolly
 characters,ships=>(?:.*\.)*Kouzaku Mitori=>RD.Mitori Kōzaku
 characters,ships=>(?:.*\.)*Kakine Teitoku=>RD.Teitoku Kakine
 characters,ships=>(?:.*\.)*Accelerator.*=>RD.Accelerator
 characters,ships=>(?:.*\.)*Misaka Imouto \| Misaka Sisters=>RD.Misaka 10032, RD.Misaka Sisters
 characters,ships=>(?:.*\.)*Last Order=>RD.Last Order | Misaka 20001
 characters,ships=>(?:.*\.)*Yomikawa Aiho=>RD.Aiho Yomikawa
 characters,ships=>(?:.*\.)*Dorm Supervisor=>RD.Dorm Supervisor
 characters,ships=>(?:.*\.)*Kamijou Touma=>RD.Tōma Kamijō
 characters,ships=>(?:.*\.)*Frenda Seivelun=>RD.Frenda Seivelun
 characters,ships=>(?:.*\.)*Mugino Shizuri=>RD.Shizuri Mugino
 characters,ships=>(?:.*\.)*Kinuhata Saiai=>RD.Saiai Kinuhata
 characters,ships=>(?:.*\.)*Hamazura Shiage=>RD.Shiage Hamazura
 characters,ships=>(?:.*\.)*Musujime Awaki=>RD.Awaki Musujime
 characters,ships=>(?:.*\.)*Shundan Kimi=>RD.Kimi Shundan
 characters,ships=>(?:.*\.)*Aleister Crowley=>RD.Aleister Crowley

##-----------------------------------Metadata Replacements:  Monster Girl Quest (Ao3)
 category=>(崩坏3rd \| )?Honkai Impact 3rd( \(Video Game\))?=>Honkai Impact 3rd
 characters,ships=>\(Honkai Impact 3rd\)=>

 characters,ships=>(?:.*.)*?Amber=>HI3.Amber
 characters,ships=>(?:.*.)*?Benares(?: | Bella)?=>HI3.Benares
 characters,ships=>(?:.*.)*?(Bianka Ataegina|Durandal)=>HI3.Bianka Ataegina
 characters,ships=>(?:.*.)*?Bronya Zaychik=>HI3.Bronya Zaychik
 characters,ships=>(?:.*.)*?Cecilia Schariac=>HI3.Cecilia Schariac
 characters,ships=>(?:.*.)*?Frederica Nikola Tesla=>HI3.Frederica Nikola Tesla
 characters,ships=>(?:.*.)*?Fu Hua=>HI3.Fu Hua
 characters,ships=>(?:.*.)*?Herrscher of Thunder=>HI3.Herrscher of Thunder
 characters,ships=>(?:.*.)*?Kevin Kaslana=>HI3.Kevin Kaslana
 characters,ships=>(?:.*.)*?Mobius=>HI3.Mobius
 characters,ships=>(?:.*.)*?(?:Murata Himeko|Himeko Murata)=>HI3.Himeko Murata
 characters,ships=>(?:.*.)*?Kiana Kaslana \| K-423=>HI3.Kiana Kaslana
 characters,ships=>(?:.*.)*?Original Kiana Kaslana=>HI3.Original Kiana Kaslana
 characters,ships=>(?:.*.)*?Lieserl Albert Einstein =>HI3.Lieserl Albert Einstein
 characters,ships=>(?:.*.)*?Otto Apocalypse=>HI3.Otto Apocalypse
 characters,ships=>(?:.*.)*?Prometheus=>HI3.Prometheus
 characters,ships=>(?:.*.)*?(?:Raiden Mei|Mei Raiden)=>HI3.Mei Raiden
 characters,ships=>(?:.*.)*?Seele Vollerei=>HI3.Seele Vollerei
 characters,ships=>(?:.*.)*?(?:Shigure Kira|Kira Shigure)=>HI3.Kira Shigure
 characters,ships=>(?:.*.)*?Siegfried Kaslana=>HI3.Siegfried Kaslana
 characters,ships=>(?:.*.)*?Sirin=>HI3.Sirin
 characters,ships=>(?:.*.)*?Susannah Manatt=>HI3.Susannah Manatt
 characters,ships=>(?:.*.)*?Theresa Apocalypse=>HI3.Theresa Apocalypse
 characters,ships=>(?:.*.)*?Vill-V=>HI3.Vill-V
 characters,ships=>(?:.*.)*?Welt Yang=>HI3.Welt Yang

##-----------------------------------Metadata Replacements:  Monster Girl Quest (Ao3)
 characters,ships=>Alice \(Monster Girl Quest\)=>MGQ.Alice
 characters,ships=>Luka \(Monster Girl Quest\)=>MGQ.Luka
 characters,ships=>Granberia \(Monster Girl Quest\)=>MGQ.Granberia
 characters,ships=>Alma Elma \(Monster Girl Quest\)=>MGQ.Alma Elma
 characters,ships=>Tamamo \(Monster Girl Quest\)=>MGQ.Tamamo
 characters,ships=>Erubetie \(Monster Girl Quest\)=>MGQ.Erubetie
 ships=>([A-z0-9+/]*\.)([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?=>\1\2\3\4\5\6\7&&category=>Monster Girl Quest


##-----------------------------------Metadata Replacements:  Love Live! School Idol Project (Ao3)
 characters,ships=>Yazawa Ni(?:c|k)o=>LL.Nico Yazawa&&category=>Love Live! School Idol Project
 characters,ships=>Nishikino Maki=>LL.Maki Nishikino&&category=>Love Live! School Idol Project
 characters,ships=>Ayase E(?:l|r)i=>LL.Eli Ayase&&category=>Love Live! School Idol Project
 characters,ships=>Toujou Nozomi=>LL.Nozomi Toujou&&category=>Love Live! School Idol Project
 characters,ships=>Hoshizora Rin=>LL.Rin Hoshizora&&category=>Love Live! School Idol Project
 characters,ships=>Koizumi Hanayo=>LL.Hanayo Koizumi&&category=>Love Live! School Idol Project
 characters,ships=>Minami Kotori=>LL.Kotori Minami&&category=>Love Live! School Idol Project
 characters,ships=>Sonoda Umi=>LL.Umi Sonoda&&category=>Love Live! School Idol Project
 characters,ships=>Kousaka Honoka=>LL.Honoka Kousaka&&category=>Love Live! School Idol Project
 characters,ships=>Kira Tsubasa=>LL.Tsubasa Kira&&category=>Love Live! School Idol Project
 characters,ships=>Toudou Erena=>LL.Erena Toudou&&category=>Love Live! School Idol Project
 characters,ships=>Yuuki Anju=>LL.Anju Yuuki&&category=>Love Live! School Idol Project

##-----------------------------------Metadata Replacements:  Love Live! Sunshine!! (Ao3)
 characters,ships=>(?:[Tt]akamk?i [Cc]hika)|(?:[Cc]hika [Tt]akamk?i)=>LL.Chika Takami&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Tt]amaki [Cc]hika)|(?:[Cc]hika [Tt]amaki)=>LL.Chika Takami&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Tt]\. [Cc]hika=>LL.Chika Takami&&category=>Love Live\! Sunshine\!\!

 characters,ships=>(?:[Tt]akami [Mm]ito)|(?:[Mm]ito [Tt]akamk?i)=>LL.Mito Takami&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Tt]akami [Ss]ima)|(?:[Ss]hima [Tt]akamk?i)=>LL.Shima Takami&&category=>Love Live\! Sunshine\!\!

 characters,ships=>(?:[Ss]akurauchi [Rr]iko)|(?:[Rr]iko [Ss]akurauchi)=>LL.Riko Sakurauchi&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Ss]akuraucchi=>LL.Sakuraucchi&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Ss]\. [Rr]iko=>LL.Riko Sakurauchi&&category=>Love Live\! Sunshine\!\!

 characters,ships=>(?:[Mm]atsuu?ra [Kk]anan)|(?:[Kk]anan [Mm]atsuu?ra)=>LL.Kanan Matsuura&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Mm]\. [Kk]anan=>LL.Kanan Matsuura&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Mm]ale\![Mm]atsuura [Kk]anan=>LL.Kanan Matsuura.Male&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Mm]astuura [Kk]anan=>LL.Kanan Matsuura&&category=>Love Live\! Sunshine\!\!

 characters,ships=>(?:\#?[Kk]urosawa? [Dd]ia)|(?:[Dd]ia [Kk]urosawa)=>LL.Dia Kurosawa&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Kk]\. [Dd]ia=>LL.Dia Kurosawa&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Kk]urusowa? [Dd]ia)|(?:[Dd]ia [Kk]urusowa)=>LL.Dia Kurosawa&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Kk]urosawa? [Dd]ia)|(?:[Dd]ia [Kk]urosawa)=>LL.Dia Kurosawa&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:Male\![Kk]urosawa [Dd]ia)|(?:Male\![Dd]ia [Kk]urosawa)=>LL.Dia Kurosawa.Male&&category=>Love Live\! Sunshine\!\!

 characters,ships=>(?:[Ww]atanabe [Yy]ou?)|(?:[Yy]ou? [Ww]atanabe)=>LL.You Watanabe&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Mm]ale\![Ww]atanabe [Yy]ou?)|(?:[Mm]ale\![Yy]ou? [Ww]atanabe)=>LL.You Watanabe&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Ww]\. You=>LL.You Watanabe&&category=>Love Live\! Sunshine\!\!
 characters,ships=>Wanatabe You=>LL.You Watanabe&&category=>Love Live\! Sunshine\!\!

 characters,ships=>(?:[Tt]sushima [Yy]oshiko(?: \| [Yy]ohane)?)|(?:[Yy]oshiko [Tt]sushima(?: \| [Yy]ohane)?)=>LL.Yoshiko Tsushima&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Tt]sushima [Yy]ohane)|(?:[Yy]ohane [Tt]sushima)=>LL.Yoshiko Tsushima&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Tt]\. [Yy]oshiko)=>LL.Yoshiko Tsushima&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Tt]aushima [Yy]oshiko(?: \| [Yy]ohane)?)|(?:[Yy]oshiko [Tt]aushima(?: \| [Yy]ohane)?)=>LL.Yoshiko Tsushima&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Yy]ohane(?: \([Ll]ove [Ll]ive\!?\))?=>LL.Yoshiko Tsushima&&category=>Love Live\! Sunshine\!\!

 characters,ships=>(?:[Kk]unikida [Hh]anamaru)|(?:[Hh]anamaru(?: [Kk]unikida)?)=>LL.Hanamaru Kunikida&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Mm]ale\![Kk]unikida [Hh]anamaru)|(?:[Mm]ale\![Hh]anamaru(?: [Kk]unikida)?)=>LL.Hanamaru Kunikida.Male&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Zz]uramaru=>LL.Hanamaru Kunikida&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Kk]\. Hanamaru=>LL.Hanamaru Kunikida&&category=>Love Live\! Sunshine\!\!
 characters,ships=>Hanamaru Kunihida=>LL.Hanamaru Kunikida&&category=>Love Live\! Sunshine\!\!
 characters,ships=>Kunikida Hanamura=>LL.Hanamaru Kunikida&&category=>Love Live\! Sunshine\!\!
 characters,ships=>Kunikidai Hanamaru=>LL.Hanamaru Kunikida&&category=>Love Live\! Sunshine\!\!
 characters,ships=>Kunkida Hanamaru=>LL.Hanamaru Kunikida&&category=>Love Live\! Sunshine\!\!

 characters,ships=>(?:[Oo]hara [Mm]ari)|(?:[Mm]ari [Oo]hara)=>LL.Mari Ohara&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Oo]hari [Mm]ari)|(?:[Mm]ari [Oo]hari)=>LL.Mari Ohara&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Oo]\. [Mm]ari=>LL.Mari Ohara&&category=>Love Live\! Sunshine\!\!

 characters,ships=>(?:\#?[Kk]urosawa [Rr]uby)|(?:[Rr]uby [Kk]urosawa)=>LL.Ruby Kurosawa&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Kk]\. [Rr]uby=>LL.Ruby Kurosawa&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Kk]urusawa [Rr]uby)|(?:[Rr]uby [Kk]urusawa)=>LL.Ruby Kurosawa&&category=>Love Live\! Sunshine\!\!

 characters,ships=>(?:[Kk]azuno [Ll]eah)|(?:[Ll]eah [Kk]azuno)=>LL.Leah Kazuno&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Kk]azuno [Rr]ia)|(?:[Rr]ia [Kk]azuno)=>LL.Leah Kazuno&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Rr]ia \(Love Live\!?\)=>LL.Leah Kazuno&&category=>Love Live\! Sunshine\!\!

 characters,ships=>(?:[Kk]azuno [Ss]arah)|(?:[Ss]arah [Kk]azuno)=>LL.Sarah Kazuno&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Kk]azuno [Ss]eira)|(?:[Ss]eira [Kk]azuno)=>LL.Sarah Kazuno&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Ss]eira=>LL.Sarah Kazuno&&category=>Love Live\! Sunshine\!\!

 characters,ships=>(?:[Ww]atanabe [Tt]suki)|(?:[Tt]suki [Ww]atanabe)=>LL.Tsuki Watanabe&&category=>Love Live\! Sunshine\!\!
 characters,ships=>Shiitake(?: \(Love Live\!\))=>LL.Shiitake&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Ii]tsuki(?: \(Love Live\!\))?=>LL.Itsuki&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Mm]utsu(?: \(Love Live\!\))?=>LL.Itsuki&&category=>Love Live\! Sunshine\!\!
 characters,ships=>[Yy]oshima(?: \(Love Live\!\))?=>LL.Itsuki&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Hh]iiragi [Mm]ao)|(?:[Mm]ao [Hh]iiragi)=>LL.Mao Hiiragi&&category=>Love Live\! Sunshine\!\!
 characters,ships=>(?:[Hh]ijirisawa [Yy]uu?na)|(?:[Yy]uu?na [Hh]ijirisawa)=>LL.Yuuna Hiiragi&&category=>Love Live\! Sunshine\!\!


##-----------------------------------Metadata Replacements:  Bloodborne (Ao3)
 characters=>The Hunter \(Bloodborne\)=>Bloodborne.The Hunter
 characters=>Female Hunter \(Bloodborne\)=>Bloodborne.The Hunter
 characters=>Plain Doll \(Bloodborne\)=>Bloodborne.Plain Doll
 characters=>Maria \(Bloodborne\)=>Bloodborne.Maria
 characters=>Lady Maria of the Astral Clocktower=>Bloodborne.Maria
 characters=>Kos \(Bloodborne\)=>Bloodborne.Kos
 characters=>Eileen the Crow \(Bloodborne\)=>Bloodborne.Eileen
 characters=>Gehrman \(Bloodborne\)=>Bloodborne.Gehrman
 characters=>Adella \(Bloodborne\)=>Bloodborne.Adella
 characters=>Arianna \(Bloodborne\)=>Bloodborne.Arianna
 characters=>Oedon Chapel Dweller=>Bloodborne.Oedon Chapel Dweller
 characters=>Simon the Harrowed=>Bloodborne.Simon
 characters=>Saint Adeline \(Bloodborne\)=>Bloodborne.Saint Adeline

 ships=>Hunter=>The Hunter
 ships=>Female Hunter=>The Hunter
 ships=>Lady Maria of the Astral Clocktower=>Maria
 ships=>Eileen the Crow=>Eileen
 ships=>Simon the Harrowed=>Simon
##-----------------------------------Metadata Replacements:  Oregairu (Ao3)
 category=>やはり俺の青春ラブコメはまちがっている。 \| My Teen Romantic Comedy SNAFU \(Anime\)=>My Teen Romantic Comedy SNAFU

 characters,ships_CHARS=>Hikigaya Hachiman=>Oregairu.Hachiman Hikigaya
 characters,ships_CHARS=>Hikigaya Komachi=>Oregairu.Komachi Hikigaya
 characters,ships_CHARS=>Yukinoshita Yukino=>Oregairu.Yukino Yukinoshita
 characters,ships_CHARS=>Yuigahama Yui=>Oregairu.Yui Yuigahama
 characters,ships_CHARS=>Miura Yumiko=>Oregairu.Yumiko Miura
 characters,ships_CHARS=>Yumiko Miura=>Oregairu.Yumiko Miura
 characters,ships_CHARS=>Hayama Hayato=>Oregairu.Hayato Hayama
 characters,ships_CHARS=>Tobe Kakeru=>Oregairu.Kakeru Tobe
 characters,ships_CHARS=>Ebina Hina=>Oregairu.Hina Ebina
 characters,ships_CHARS=>Hikigaya Parents=>Oregairu.Hikigaya Parents
 characters,ships_CHARS=>(Hiratsuka Shizuka|Shizuka Hiratsuka)=>Oregairu.Shizuka Hiratsuka&&category=>My Teen Romantic Comedy SNAFU

##-----------------------------------Metadata Replacements:  Katawa Shoujo (Ao3)
 characters=>Satou Lilly=>Katawa Shoujo.Lilly Satou

##-----------------------------------Metadata Replacements:  A Little Lily Princess (Ao3)
 category=>A Little Lily Princess \(Visual Novel\)=>A Little Lily Princess
 characters,ships_CHARS=>(?:.*\.)*?Ermengarde St(\.)? John=>ALLP.Ermengarde St John

 characters,ships_CHARS=>(?:.*\.)*?(.+)=>ALLP.\1&&category=>A Little Lily Princess

##-----------------------------------Metadata Replacements:  Miss Kobayashi's Dragon Maid (Ao3)
 category=>小林さんちのメイドラゴン \| Kobayashi\-san [Cc]hi [Nn]o [Mm]aid [Dd]ragon \| Miss Kobayashi\'s Dragon Maid=>Miss Kobayashi's Dragon Maid
 category=>Kobayashi\-san [Cc]hi [Nn]o [Mm]aid=>Miss Kobayashi's Dragon Maid

 characters,ships_CHARS=>\(Miss Kobayashi\'s Dragon Maid\)=>
 
 characters,ships_CHARS=>(?:.*\.)*?(?:Miss )?Kobayashi=>MKDM.Kobayashi&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Tohru=>MKDM.Tohru&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Kanna(?: Kamui)?=>MKDM.Kanna Kamui&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Elma=>MKDM.Elma&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Saikawa Riko=>MKDM.Riko Saikawa&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Riko Saikawa=>MKDM.Riko Saikawa&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Quetzalcoatl(?: \"Lucoa\")?=>MKDM.Quetzalcoatl&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Lucoa=>MKDM.Quetzalcoatl&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Ilulu=>MKDM.Ilulu&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Magatsuchi Shou?ta=>MKDM.Shouta Magatsuchi&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Shou?ta Magatsuchi=>MKDM.Shouta Magatsuchi&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Damocles=>MKDM.Damocles&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Fafnir=>MKDM.Fafnir&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Takiya Makoto=>MKDM.Makoto Takiya&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Makoto Takiya=>MKDM.Makoto Takiya&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Saikawa Georgie=>MKDM.Saikawa Georgie&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Georgie Saikawa=>MKDM.Saikawa Georgie&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Aida Taketo=>MKDM.Taketo Aida&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Taketo Aida=>MKDM.Taketo Taketo&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Chloe=>MKDM.Chloe&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Kobayashi's (?:Mother|M(?:o|u)m)=>MKDM.Kobayashi's Mother&&category=>Miss Kobayashi's Dragon Maid
 characters,ships_CHARS=>(?:.*\.)*?Kobayashi's (?:Father|Dad)=>MKDM.Kobayashi's Father&&category=>Miss Kobayashi's Dragon Maid

##-----------------------------------Metadata Replacements:  Worm (Ao3)
 category=>Worm \- Wildbow=>Worm
 category=>Parahumans Series \- Wildbow=>Worm
 characters,ships=>(?:.*\.)*?Taylor Hebert(?: \| Skitter)?(?: \| Weaver)?=>Worm.Taylor Hebert
 characters,ships=>(?:.*\.)*?Lisa Wilbourn(?: \| Tattletale)?=>Worm.Lisa Wilbourn
 characters,ships=>(?:.*\.)*?Brian Laborn(?: \| Grue)?=>Worm.Brian Laborn
 characters,ships=>(?:.*\.)*?Alec(?: \| Regent)?=>Worm.Alec
 characters,ships=>(?:.*\.)*?Alec \(Worm\)=>Worm.Alec
 characters,ships=>(?:.*\.)*?Rachel Lindt(?: \| Bitch)?(?: \| Hellhound)?=>Worm.Rachel Lindt
 characters,ships=>(?:.*\.)*?Amy Dallon(?: \| Panacea)?(?: \| Red Queen)?=>Worm.Amy Dallon
 characters,ships=>(?:.*\.)*?Victoria Dallon(?: \| Glory Girl)?(?: \| Antares)?=>Worm.Victoria Dallon
 characters,ships=>(?:.*\.)*?Wards \(Worm\)=>Worm.Wards
 characters,ships=>(?:.*\.)*?Undersiders \(Worm\)=>Worm.Undersiders
 characters,ships=>(?:.*\.)*?New Wave \(Worm\)=>Worm.New Wave
 characters,ships=>(?:.*\.)*?Rune \(Worm\)=>Worm.Rune
 characters,ships=>(?:.*\.)*?Sabah \(Worm\)=>Worm.Sabah
 characters,ships=>(?:.*\.)*?Dean Stansfield \(?: \| Gallant\)?=>Worm.Dean Stansfield
 characters,ships=>(?:.*\.)*?Sophia Hess \(?: \| Shadow Stalker\)?=>Worm.Sophia Hess
 characters,ships=>(?:.*\.)*?Carlos \(?: \| Aegis\)?=>Worm.Carlos
 characters,ships=>(?:.*\.)*?Dennis \(?: \| Clockbocker\)?=>Worm.Dennis
 characters,ships=>(?:.*\.)*?Chris \(?: \| Kid Win\)?=>Worm.Chris
 characters,ships=>(?:.*\.)*?Missy Biron \(?: \| Vista\)?=>Worm.Missy Biron

##-----------------------------------Metadata Replacements:  Touhou Project (Ao3)
 characters,ships=>\(PC\-98\)=>
 characters,ships=>\(Touhou Project\)=>

 characters,ships_CHARS=>(?:.+\.)?Elly=>TH.Elly&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Fujiwara no Mokou=>TH.Mokou Fujiwara&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Hakurei Reimu=>TH.Reimu Hakurei&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Hieda no Akyuu=>TH.Akyuu Hieda&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Hijiri Byakuren=>TH.Byakuren Hijiri&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Houraisan Kaguya=>TH.Kaguya Houraisan&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Ibaraki Kasen=>TH.Kasen Ibaraki&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Ibuki Suika=>TH.Suika Ibuki&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Inaba Tewi=>TH.Tewi Inaba&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Izayoi Sakuya=>TH.Sakuya Izayoi&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Kagiyama Hina=>TH.Hina Kagiyama&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Kasodani Kyouko=>TH.Kyouko Kasodani&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Kazami Yuuka=>TH.Yuuka Kazami&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Kirisame Marisa=>TH.Marisa Kirisame&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Kishin Sagume=>TH.Sagume Kishin&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Kochiya Sanae=>TH.Sanae Kochiya&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Komano Aunn=>TH.Aunn Komano&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Komeiji Koishi=>TH.Koishi Komeiji&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Komeiji Satori=>TH.Satori Komeiji&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Konpaku Youki=>TH.Youki Konpaku&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Konpaku Youmu=>TH.Youmu Konpaku&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Kurumi=>TH.Kurumi&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?\bMima\b=>TH.Mima&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Moriya Suwako=>TH.Suwako Moriya&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Motoori Kosuzu=>TH.Kosuzu Motoori&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Nippaku Zanmu=>TH.Zanmu Nippaku&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Onozuka Komachi=>TH.Komachi Onozuka&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Reiuji Utsuho=>TH.Utsuho Reiuji&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Saigyouji Yuyuko=>TH.Yuyuko Saigyouji&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Shameimaru Aya=>TH.Aya Shameimaru&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Yagokoro Eirin=>TH.Eirin Yagokoro&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Yakumo Yukari=>TH.Yukari Yakumo&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Yasaka Kanako=>TH.Kanako Yasaka&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Sukuna Shinmyoumaru=>TH.Shinmyoumaru Sukuna&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Kijin Seija=>TH.Seija Kijin&&category=>Touhou Project
 characters,ships_CHARS=>(?:.+\.)?Watatsuki no Yorihime=>TH.Yorihime Watatsuki&&category=>Touhou Project

##-----------------------------------Metadata Replacements:  Buffy: The Vampire Slayer (Ao3)
 category=>Buffy the Vampire Slayer=>Buffy: The Vampire Slayer

 characters,ships=>(?:.*\.)*?Buffy Summers=>BtVS.Buffy Summers&&category=>Buffy\: The Vampire Slayer
 characters,ships=>(?:.*\.)*?Dawn Summers=>BtVS.Dawn Summers&&category=>Buffy\: The Vampire Slayer
 characters,ships=>(?:.*\.)*?Rupert Giles=>BtVS.Rupert Giles&&category=>Buffy\: The Vampire Slayer
 characters,ships=>(?:.*\.)*?Willow Rosenberg=>BtVS.Willow Rosenberg&&category=>Buffy\: The Vampire Slayer
 characters,ships=>(?:.*\.)*?Xander Harris=>BtVS.Xander Harris&&category=>Buffy\: The Vampire Slayer

##-----------------------------------Metadata Replacements:  Youjo Senki | Saga of Tanya the Evil (Ao3)
 category=>幼女戦記 \| Youjo Senki \| Saga of Tanya the Evil(?: \(Anime\))?=> Youjo Senki
 category=>幼女戦記 \| Youjo Senki \| Saga of Tanya the Evil(?: \(Manga\))?=> Youjo Senki
 category=>幼女戦記 \| Youjo Senki \| Saga of Tanya the Evil - Carlo Zen \(Light Novels\)=> Youjo Senki

 characters,ships=>(?:.*\.)*[Tt]anya(?: [Vv]on)? [Dd]egurechaff=>YS.Tanya von Degurechaff&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*[Vv]iktoriya(?: [Ii]vanovna)?(?:[Vv]ika )? [Ss]erebryakov=>YS.Viktoriya Ivanovna Serebryakov&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*[Vv]isha(?: Youjo Senki)?=>YS.Viktoriya Ivanovna Serebryakov&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Erich?(?: [Vv]on)? (?:Rerugen|Lehrngen)=>YS.Erich von Rerugen&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Maximilian Johann(?: [Vv]on)? Ur?gar=>YS.Maximilian Johann von Ugar&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*[Cc]aptain [Uu]r?gar=>YS.Maximilian Johann von Ugar&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Matheus Johan Weiss=>YS.Matheus Johan Weiss&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Vooren Grantz=>YS.Vooren Grantz&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Wilibald Koenig=>YS.Wilibald Koenig&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Rhiner Neumann=>YS.Rhiner Neumann&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Adelheid(?: [Vv]on)? Schugel=>YS.Adelheid von Schugel&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Dr\. Schugel=>YS.Adelheid von Schugel&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Kurt(?: [Vv]on)? Rudersdorf=>YS.Kurt von Rudersdorf&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Hans(?: [Vv]on)? Zettour=>YS.Hans von Zettour&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Loria( \(Youjo Senki\))?=>YS.Loria&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Josef Dzhugashvili=>YS.Josef Dzhugashvili&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*[Mm]ary ([Ss]ue|[Ss]ioux)(?: \(Youjo Senki\))?=>YS.Mary Sue&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*[Aa]nson (?:[Ss]ue|[Ss]ioux)=>YS.Anson Sue&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Elya(?: \(Youjo Senki\))?=>YS.Erya Sieber&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Erya(?: \(Youjo Senki\))?=>YS.Erya Sieber&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Erya Sieber(?: \(Youjo Senki\))?=>YS.Erya Sieber&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*203rd(?: [Aa]erial)? Mage Battalion=>YS.203rd Aerial Mage Battalion&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Salaryman=>YS.Salaryman&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*[Mm]atthias(?: [Vv]on) [Aa]achen=>YS.Matthias von Aachen&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*[Cc]aptain [Gg]lein(?: \(Youjo Senki\))=>YS.Captain Glein&&category=>Youjo Senki
 characters,ships=>(?:.*\.)*Donald Habergram=>YS.Donald Habergram&&category=>Youjo Senki

##-----------------------------------Metadata Replacements:  Date A Live (Ao3)
 characters=>(?:.*\.)?(?:Tokisaki Kurumi|Tokisaki Kurumi)=>DaL.Kurumi Tokisaki
##Not sure why this is here but I'm keeping here, just commented out
# ships=>([A-z0-9+/]*\.)([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?(?:[A-z0-9+/]*\.)?([^/]*/?)?=>\1\2\3\4\5\6\7\8\9\10

##-----------------------------------Metadata Replacements:  Zero no Tsukaima | The Familiar of Zero (Ao3)
 category=>ゼロの使い魔 \| Zero no Tsukaima \| The Familiar of Zero=>Familiar of Zero
 characters,ships=>\(Zero no Tsukaima\)=>

 characters,ships=>(?:.*\.)?Louise de La Vallière=>FoZ.Louise Valliere&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?(?:Princess )?Henrietta(?: de Tristain)?=>FoZ.Henrietta&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Kirche von Anhalt\-Zerbst=>FoZ.Kirche Zerbst&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Tabitha \| Charlotte de Gallia=>FoZ.Tabitha&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Sylphid \| Irukukwu=>FoZ.Sylphid&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Siesta=>FoZ.Siesta&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Hiraga Saito=>FoZ.Saito Hiraga&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Saito(?: Hiraga)=>FoZ.Saito Hiraga&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Guiche de Gramont=>FoZ.Guiche Gramont&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Osmond=>FoZ.Osmond&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Longueville \| Fouquet=>FoZ.Longueville&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Montmorency(?: (?:de)? Montmorency)=>FoZ.Montmorency&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Agnès Chevalier de Milan=>FoZ.Agnes&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Jean Colbert=>FoZ.Jean Colbert&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Karin \| Duchess de La Vallière=>FoZ.Karin Valliere&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?\bSasha\b=>FoZ.Sasha&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Éléonore de La Vallière=>FoZ.Eleonore de La Valliere&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Cattleya de La Fontaine=>FoZ.Cattleya Valliere&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Cattleya de La Vallière=>FoZ.Cattleya Valliere&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Tiffania(?: Westwood)=>FoZ.Tiffania Westwood&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Julio Chesaré=>FoZ.Julio Chesare&&category=>Familiar of Zero
 characters,ships=>(?:.*\.)?Jean\-Jacques de Wardes=>FoZ.Jean-Jacques Wardes&&category=>Familiar of Zero

##-----------------------------------Metadata Replacements:  Puella Magi Madoka Magica (Ao3)
 category=>Mahou Shoujo Madoka Magika \| Puella Magi Madoka Magica=>Puella Magi Madoka Magica
 category=>Puella Magi Madoka☆Magica=>Puella Magi Madoka Magica
 characters,ships=>\(Magia Record\)=>
 characters,ships=> \(PMMM\)=>
#This reverses character's names
 characters,ships=>\b([A-Z|a-z]*)\b \b([A-Z|a-z]*)\b=>\2 \1&&category=>Puella Magi Madoka Magica

 extratags=>\bPMMMM\b=>Magic\,Magical Girl\,Female Protagonist\,Fantasy\,Fantasy.Urban&&category=>Puella Magi Madoka Magica

##-----------------------------------Metadata Replacements:  Magical Girl Lyrical Nanoha (Ao3)
 category=>(?:Mahou Shoujo Lyrical Nanoha \| )?Magical Girl Lyrical Nanoha=>Magical Girl Lyrical Nanoha
 characters,ships=>(?: \(Lyrical Nanoha\))=>
 
 characters,ships_CHARS=>(?:.+\.)?[Nn]anoha [Tt]akamachi|[Tt]akamachi [Nn]anoha=>MGLN.Nanoha Takamachi&&category=>Magical Girl Lyrical Nanoha
 characters,ships_CHARS=>(?:.+\.)?[Ff]ate(?: [Tt]estarossa)?(?: [Hh]arlaown)?=>MGLN.Fate Testarossa&&category=>Magical Girl Lyrical Nanoha
 characters,ships_CHARS=>(?:.+\.)?[Hh]ayate [Yy]agami|[Yy]agami [Hh]ayate=>MGLN.Hayate Yagami&&category=>Magical Girl Lyrical Nanoha
 characters,ships_CHARS=>(?:.+\.)?[Ss]ignum=>MGLN.Signum&&category=>Magical Girl Lyrical Nanoha
 characters,ships_CHARS=>(?:.+\.)?\b[Vv]ita\b=>MGLN.Vita&&category=>Magical Girl Lyrical Nanoha
 characters,ships_CHARS=>(?:.+\.)?\b[Ss]hamal\b=>MGLN.Shamal&&category=>Magical Girl Lyrical Nanoha
 characters,ships_CHARS=>(?:.+\.)?\b[Zz]afira\b=>MGLN.Zafira&&category=>Magical Girl Lyrical Nanoha
 characters,ships_CHARS=>(?:.+\.)?[Ss]uzuka [Tt]sukimura|[Tt]sukimura [Ss]uzuka=>MGLN.Suzuka Tsukimura&&category=>Magical Girl Lyrical Nanoha
 characters,ships_CHARS=>(?:.+\.)?[Aa][lr]isa [Bb][au]nnings|[Bb][ua]nnings [Aa][lr]isa=>MGLN.Arisa Bannings&&category=>Magical Girl Lyrical Nanoha
 characters,ships_CHARS=>(?:.+\.)?[Ss]achie [Ii]shida|[Ii]shida [Ss]achie=>MGLN.Sachie Ishida&&category=>Magical Girl Lyrical Nanoha

##-----------------------------------Metadata Replacements:  Precure (Ao3)
 category=>ふたりはプリキュア \| Futari wa Pretty Cure=>Precure
 characters,ships=>\(Cure Pretty\)=>&&category=>Precure

 characters,ships=>(?:.+\.)?(?:Honoka Yukishiro|Yukishiro Honoka)(?: \| White Cure)?=>Precure.Honoka Yukishiro&&category=>Precure
 characters,ships=>(?:.+\.)?(?:Nagisa Misumi|Misumi Nagisa)(?: \| Black Cure)?=>Precure.Nagisa Misumi&&category=>Precure
 characters,ships=>(?:.+\.)?Mepple=>Precure.Mepple&&category=>Precure
 characters,ships=>(?:.+\.)?Mipple=>Precure.Mipple&&category=>Precure

##-----------------------------------Metadata Replacements:  VA-11 Hall-A (Ao3)
 category=>VA\-11 Hall\-A \(Video Game\)=>VA-11 Hall-A
 characters,ships=>\(VA\-11 Hall\-A\)=>

##-----------------------------------Metadata Replacements:  Toradora (Ao3)
 characters,ships_CHARS=>[Aa]mi [Kk]awashima|[Kk]awashima [Aa]mi=>TD!.Ami Kawashima&&category=>Toradora
 characters,ships_CHARS=>[Mm]inori [Kk]ushieda|[Kk]ushieda [Mm]inori=>TD!.Minori Kushieda&&category=>Toradora
 characters,ships_CHARS=>[Rr]yuu?ji [Tt]akasu|[Tt]akasu [Rr]yuu?ji=>TD!.Ryuji Takasu&&category=>Toradora
 characters,ships_CHARS=>[Yy]uu?saku [Kk]itamura|[Kk]itamura [Yy]uu?saku=>TD!.Yusaku Kitamura&&category=>Toradora
 characters,ships_CHARS=>[Tt]aiga [Aa]isaka|[Aa]isaka [Tt]aiga=>TD!.Taiga Aisaka&&category=>Toradora
 characters,ships_CHARS=>[Ss]umire [Kk]anou|[Kk]anou [Ss]umire=>TD!.Sumire Kanou&&category=>Toradora

##-----------------------------------Metadata Replacements:  Arknights (Ao3)
 category=>明日方舟 \| Arknights(?: ?\(Video Game\))?=>Arknights
 characters,ships=> \(Arknights\)=>
 characters=>([^\v(]*) \((Female|Male)\)=>\1.\2, \1&&category=>Arknights
 ships=> \((?:Male|Female)\)=>&&category=>Arknights

##-----------------------------------Metadata Replacements:  Little Witch Academia (Ao3)
 characters,ships=> \"Akko\" =>&&category=>Little Witch Academia

##-----------------------------------Metadata Replacements:  My Hero Academia (Ao3)
 category=>僕のヒーローアカデミア \| Boku no Hero Academia \| My Hero Academia=>My Hero Academia
 characters,ships=>\(My Hero Academia\)=>

 characters,ships=>(?:.*\.)*?Backdraft=>MHA.Backdraft&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Crimson Riot=>MHA.Crimson Riot&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Crust=>MHA.Crust&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Dark Shadow=>MHA.Dark Shadow&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?David Shield=>MHA.David Shield&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Death Arms=>MHA.Death Arms&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Dr. Tsubasa=>MHA.Dr. Tsubasa&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Ectoplasm=>MHA.Ectoplasm&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Eri=>MHA.Eri&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Flect Turn=>MHA.Flect Turn&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Fourth Kind=>MHA.Fourth Kind&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Geten=>MHA.Geten&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Gigantomachia=>MHA.Gigantomachia&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Gunhead=>MHA.Gunhead&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Hero Public Safety Commission=>MHA.Hero Public Safety Commission&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Hero Public Safety Commission President=>MHA.Hero Public Safety Commission President&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Ketsubutsu Academy Students=>MHA.Ketsubutsu Academy Students&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Kidou=>MHA.Kidou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Kurogiri=>MHA.Kurogiri&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Lala Soul=>MHA.Lala Soul&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?League of Villains=>MHA.League of Villains&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Lunch-Rush=>MHA.Lunch-Rush&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Melissa Shield=>MHA.Melissa Shield&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Meta Liberation Army=>MHA.Meta Liberation Army&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Moonfish=>MHA.Moonfish&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Mr. Brave=>MHA.Mr. Brave&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Mustard=>MHA.Mustard&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Musutafu Police Department Officers=>MHA.Musutafu Police Department Officers&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Native=>MHA.Native&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Nedzu=>MHA.Nedzu&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Nine=>MHA.Nine&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Noumu=>MHA.Noumu&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Number Six=>MHA.Number Six&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Paranormal Liberation Front=>MHA.Paranormal Liberation Front&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Past One For All Users=>MHA.Past One For All Users&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Rody Soul=>MHA.Rody Soul&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Roro Soul=>MHA.Roro Soul&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Selkie=>MHA.Selkie&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Shiketsu High Students=>MHA.Shiketsu High Students&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Shishido=>MHA.Shishido&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Sirius=>MHA.Sirius&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Sludge Villain=>MHA.Sludge Villain&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Snipe=>MHA.Snipe&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Support Department=>MHA.Support Department&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Todoroki Siblings=>MHA.Todoroki Siblings&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Tsubasa=>MHA.Tsubasa&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Uwabami=>MHA.Uwabami&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Vanguard Action Squad=>MHA.Vanguard Action Squad&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Wild Wild Pussycats=>MHA.Wild Wild Pussycats&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Wolfram=>MHA.Wolfram&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Class 1-A Boys=>MHA.Class 1-A Boys&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Class 1-A Girls=>MHA.Class 1-A Girls&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Class 1-A=>MHA.Class 1-A&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Class 1-B Girls=>MHA.Class 1-B Girls&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Class 1-B=>MHA.Class 1-B&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Class 1-C=>MHA.Class 1-C&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Class 1-H=>MHA.Class 1-H&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Amajiki Tamaki|Tamaki Amajiki)=>MHA.Tamaki Amajiki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Aoyama Yuuga|Yuuga Aoyama)=>MHA.Yuuga Aoyama&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Ashido Mina|Mina Ashido)=>MHA.Mina Ashido&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Asui Beru|Beru Asui)=>MHA.Beru Asui&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Asui Ganma|Ganma Asui)=>MHA.Ganma Asui&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Asui Samidare|Samidare Asui)=>MHA.Samidare Asui&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Asui Satsuki|Satsuki Asui)=>MHA.Satsuki Asui&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Asui Tsuyu|Tsuyu Asui)=>MHA.Tsuyu Asui&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Awase Yousetsu|Yousetsu Awase)=>MHA.Yousetsu Awase&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Bakugou Katsuki|Katsuki Bakugou)=>MHA.Katsuki Bakugou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Bakugou Masaru|Masaru Bakugou)=>MHA.Masaru Bakugou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Bakugou Mitsuki|Mitsuki Bakugou)=>MHA.Mitsuki Bakugou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Bondo Kojirou|Kojirou Bondo)=>MHA.Kojirou Bondo&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Fukidashi Manga|Manga Fukidashi)=>MHA.Manga Fukidashi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Fuwa Mawata|Mawata Fuwa)=>MHA.Mawata Fuwa&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Hachisuka Kuin|Kuin Hachisuka)=>MHA.Kuin Hachisuka&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Hadou Nejire|Nejire Hadou)=>MHA.Nejire Hadou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Hagakure Tooru|Tooru Hagakure)=>MHA.Tooru Hagakure&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Haimawari Kouichi|Kouichi Haimawari)=>MHA.Kouichi Haimawari&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Hatsume Mei|Mei Hatsume)=>MHA.Mei Hatsume&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Haya Yuuyu|Yuuyu Haya)=>MHA.Yuuyu Haya&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Honenuki Juuzou|Juuzou Honenuki)=>MHA.Juuzou Honenuki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Iida Tenya|Tenya Iida)=>MHA.Tenya Iida&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Intelli Saiko|Saiko Intelli)=>MHA.Saiko Intelli&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Izumi Kouta|Kouta Izumi)=>MHA.Kouta Izumi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Jirou Kyouka|Kyouka Jirou)=>MHA.Kyouka Jirou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Jirou Kyoutoku|Kyoutoku Jirou)=>MHA.Kyoutoku Jirou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Jirou Mika|Mika Jirou)=>MHA.Mika Jirou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kaibara Sen|Sen Kaibara)=>MHA.Sen Kaibara&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kamakiri Togaru|Togaru Kamakiri)=>MHA.Togaru Kamakiri&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kaminari Denki|Denki Kaminari)=>MHA.Denki Kaminari&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Katsukame Rikiya|Rikiya Katsukame)=>MHA.Rikiya Katsukame&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kendou Itsuka|Itsuka Kendou)=>MHA.Itsuka Kendou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kirishima Eijirou|Eijirou Kirishima)=>MHA.Eijirou Kirishima&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kodai Yui|Yui Kodai)=>MHA.Yui Kodai&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Komori Kinoko|Kinoko Komori)=>MHA.Kinoko Komori&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kouda Kouji|Kouji Kouda)=>MHA.Kouji Kouda&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kuroiro Shihai|Shihai Kuroiro)=>MHA.Shihai Kuroiro&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Mera Yokumiru|Yokumiru Mera)=>MHA.Yokumiru Mera&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Midoriya Hisashi|Hisashi Midoriya)=>MHA.Hisashi Midoriya&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Midoriya Inko|Inko Midoriya)=>MHA.Inko Midoriya&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Midoriya Izuku|Izuku Midoriya)=>MHA.Izuku Midoriya&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Mineta Minoru|Minoru Mineta)=>MHA.Minoru Mineta&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Mongoose Habuko|Habuko Mongoose)=>MHA.Habuko Mongoose&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Monoma Neito|Neito Monoma)=>MHA.Neito Monoma&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Moura Nagamasa|Nagamasa Moura)=>MHA.Nagamasa Moura&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Nakagame Tatami|Tatami Nakagame)=>MHA.Tatami Nakagame&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Nemoto Shin|Shin Nemoto)=>MHA.Shin Nemoto&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Ojiro Mashirao|Mashirao Ojiro)=>MHA.Mashirao Ojiro&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Rappa Kendou|Kendou Rappa)=>MHA.Kendou Rappa&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Rin Hiryuu|Hiryuu Rin)=>MHA.Hiryuu Rin&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Sakaki Deidoro|Deidoro Sakaki)=>MHA.Deidoro Sakaki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Satou Rikidou|Rikidou Satou)=>MHA.Rikidou Satou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Sero Hanta|Hanta Sero)=>MHA.Hanta Sero&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Setsuno Touya|Touya Setsuno)=>MHA.Touya Setsuno&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shimano Katsuma|Katsuma Shimano)=>MHA.Katsuma Shimano&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shimano Mahoro|Mahoro Shimano)=>MHA.Mahoro Shimano&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shimura Hana|Hana Shimura)=>MHA.Hana Shimura&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shimura Kotarou|Kotarou Shimura)=>MHA.Kotarou Shimura&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shimura Nana|Nana Shimura)=>MHA.Nana Shimura&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shimura Nao|Nao Shimura)=>MHA.Nao Shimura&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shindou You|You Shindou)=>MHA.You Shindou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shinomori Hikage|Hikage Shinomori)=>MHA.Hikage Shinomori&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shinsou Hitoshi|Hitoshi Shinsou)=>MHA.Hitoshi Shinsou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shiozaki Ibara|Ibara Shiozaki)=>MHA.Ibara Shiozaki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shirakumo Oboro|Oboro Shirakumo)=>MHA.Oboro Shirakumo&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shishida Juurouta|Juurouta Shishida)=>MHA.Juurouta Shishida&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shishikura Seiji|Seiji Shishikura)=>MHA.Seiji Shishikura&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shouda Nirengeki|Nirengeki Shouda)=>MHA.Nirengeki Shouda&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shouji Mezou|Mezou Shouji)=>MHA.Mezou Shouji&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tabe Soramitsu|Soramitsu Tabe)=>MHA.Soramitsu Tabe&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tamakawa Sansa|Sansa Tamakawa)=>MHA.Sansa Tamakawa&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tengai Hekiji|Hekiji Tengai)=>MHA.Hekiji Tengai&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tetsutetsu Tetsutetsu|Tetsutetsu Tetsutetsu)=>MHA.Tetsutetsu Tetsutetsu&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Todoroki Fuyumi|Fuyumi Todoroki)=>MHA.Fuyumi Todoroki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Todoroki Natsuo|Natsuo Todoroki)=>MHA.Natsuo Todoroki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Todoroki Rei|Rei Todoroki)=>MHA.Rei Todoroki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Todoroki Shouto|Shouto Todoroki)=>MHA.Shouto Todoroki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Toga Himiko|Himiko Toga)=>MHA.Himiko Toga&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Togeike Chikuchi|Chikuchi Togeike)=>MHA.Chikuchi Togeike&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tokage Setsuna|Setsuna Tokage)=>MHA.Setsuna Tokage&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tokoyami Fumikage|Fumikage Tokoyami)=>MHA.Fumikage Tokoyami&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tokuda Taneo|Taneo Tokuda)=>MHA.Taneo Tokuda&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Toogata Mirio|Mirio Toogata)=>MHA.Mirio Toogata&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tsuburaba Kousei|Kousei Tsuburaba)=>MHA.Kousei Tsuburaba&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tsukauchi Makoto|Makoto Tsukauchi)=>MHA.Makoto Tsukauchi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tsukauchi Naomasa|Naomasa Tsukauchi)=>MHA.Naomasa Tsukauchi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tsunotori Pony|Pony Tsunotori)=>MHA.Pony Tsunotori&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tsuragamae Kenji|Kenji Tsuragamae)=>MHA.Kenji Tsuragamae&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Uraraka Ochako|Ochako Uraraka)=>MHA.Ochako Uraraka&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Utsushimi Camie|Camie Utsushimi)=>MHA.Camie Utsushimi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Yanagi Reiko|Reiko Yanagi)=>MHA.Reiko Yanagi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Yaoyorozu Momo|Momo Yaoyorozu)=>MHA.Momo Yaoyorozu&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Yoarashi Inasa|Inasa Yoarashi)=>MHA.Inasa Yoarashi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(?:Dabi \| )?(Todoroki Touya|Touya Todoroki)=>MHA.Touya Todoroki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Aiba Manami|Manami Aiba)(?: \| La Brava)?=>MHA.Manami Aiba&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Aizawa Shouta|Shouta Aizawa)(?: \| Eraserhead)?=>MHA.Shouta Aizawa&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Akaguro Chizome|Chizome Akaguro)(?: \| Stain)?=>MHA.Chizome Akaguro&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Awata Kaoruko|Kaoruko Awata)(?: \| Bubble Girl)?=>MHA.Kaoruko Awata&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Banjou Daigorou|Daigorou Banjou)(?: \| Lariat)?=>MHA.Daigorou Banjou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Bubaigawara Jin|Jin Bubaigawara)(?: \| Twice)?=>MHA.Jin Bubaigawara&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Cathleen Bate|Bate Cathleen)(?: \| Star and Stripe)?=>MHA.Bate Cathleen&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Chatora Yawara|Yawara Chatora)(?: \| Tiger)?=>MHA.Yawara Chatora&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Chikazoku Tomoyasu|Tomoyasu Chikazoku)(?: \| Skeptic)?=>MHA.Tomoyasu Chikazoku&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Chisaki Kai|Kai Chisaki)(?: \| Overhaul)?=>MHA.Kai Chisaki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Fukukado Emi|Emi Fukukado)(?: \| Ms. Joke)?=>MHA.Emi Fukukado&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Garaki Kyuudai|Kyuudai Garaki)(?: \| Ujiko Daruma)?=>MHA.Kyuudai Garaki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Hakamata Tsunagu|Tsunagu Hakamata)(?: \| Best Jeanist)?=>MHA.Tsunagu Hakamata&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Hanabata Koukuu|Koukuu Hanabata)(?: \| Trumpet)?=>MHA.Koukuu Hanabata&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Haneyama Kazuho|Kazuho Haneyama)(?: \| Pop Step)?=>MHA.Kazuho Haneyama&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Hasaki Kiruka|Kiruka Hasaki)(?: \| Slice)?=>MHA.Kiruka Hasaki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Hikiishi Kenji|Kenji Hikiishi)(?: \| Magne)?=>MHA.Kenji Hikiishi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Iguchi Shuuichi|Shuuichi Iguchi)(?: \| Spinner)?=>MHA.Shuuichi Iguchi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Iida Tensei|Tensei Iida)(?: \| Ingenium)?=>MHA.Tensei Iida&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Imasuji Gouto|Gouto Imasuji)(?: \| Muscular)?=>MHA.Gouto Imasuji&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Inui Ryou|Ryou Inui)(?: \| Hound Dog)?=>MHA.Ryou Inui&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Ippan Josei|Josei Ippan)(?: \| Fox Girl)?=>MHA.Josei Ippan&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Irinaka Joui|Joui Irinaka)(?: \| Mimic)?=>MHA.Joui Irinaka&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Ishiyama Ken|Ken Ishiyama)(?: \| Cementoss)?=>MHA.Ken Ishiyama&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kamihara Shinya|Shinya Kamihara)(?: \| Edgeshot)?=>MHA.Shinya Kamihara&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kamiji Moe|Moe Kamiji)(?: \| Burnin)?=>MHA.Moe Kamiji&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kan Sekijirou|Sekijirou Kan)(?: \| Vlad King)?=>MHA.Sekijirou Kan&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kayama Nemuri|Nemuri Kayama)(?: \| Midnight)?=>MHA.Nemuri Kayama&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kizuki Chitose|Chitose Kizuki)(?: \| Curious)?=>MHA.Chitose Kizuki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kon Choujuurou|Choujuurou Kon)(?: \| Chimera)?=>MHA.Choujuurou Kon&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kurono Hari|Hari Kurono)(?: \| Chronostasis)?=>MHA.Hari Kurono&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Kurose Anan|Anan Kurose)(?: \| Thirteen)?=>MHA.Anan Kurose&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Maijima Higari|Higari Maijima)(?: \| Power Loader)?=>MHA.Higari Maijima&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Mizushima Masaki|Masaki Mizushima)(?: \| Manual)?=>MHA.Masaki Mizushima&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Moashi Juuzou|Juuzou Moashi)(?: \| Centipeder)?=>MHA.Juuzou Moashi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Nishiya Shinji|Shinji Nishiya)(?: \| Kamui Woods)?=>MHA.Shinji Nishiya&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Oguro Iwao|Iwao Oguro)(?: \| Knuckleduster)?=>MHA.Iwao Oguro&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Okuta Kagerou|Kagerou Okuta)(?: \| Giran)?=>MHA.Kagerou Okuta&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Sakamata Kuugo|Kuugo Sakamata)(?: \| Gang Orca)?=>MHA.Kuugo Sakamata&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Sako Atsuhiro|Atsuhiro Sako)(?: \| Mr. Compress)?=>MHA.Atsuhiro Sako&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Sasaki Mirai|Mirai Sasaki)(?: \| Sir Nighteye)?=>MHA.Mirai Sasaki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shigaraki Tomura|Tomura Shigaraki)(?: \| Shimura Tenko)?=>MHA.Tomura Shigaraki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shiretoko Tomoko|Tomoko Shiretoko)(?: \| Ragdoll)?=>MHA.Tomoko Shiretoko&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Shuuzenji Chiyo|Chiyo Shuuzenji)(?: \| Recovery Girl)?=>MHA.Chiyo Shuuzenji&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Sousaki Shino|Shino Sousaki)(?: \| Mandalay)?=>MHA.Shino Sousaki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Takagi Ken|Ken Takagi)(?: \| Rock Lock)?=>MHA.Ken Takagi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Takami Keigo|Keigo Takami)(?: \| Hawks)?=>MHA.Keigo Takami&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Takeyama Yuu|Yuu Takeyama)(?: \| Mount Lady)?=>MHA.Yuu Takeyama&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tatsuma Ryuuko|Ryuuko Tatsuma)(?: \| Ryuukyuu)?=>MHA.Ryuuko Tatsuma&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tobita Danjuurou|Danjuurou Tobita)(?: \| Gentle Criminal)?=>MHA.Danjuurou Tobita&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Todoroki Enji|Enji Todoroki)(?: \| Endeavor)?=>MHA.Enji Todoroki&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Torino Sorahiko|Sorahiko Torino)(?: \| Gran Torino)?=>MHA.Sorahiko Torino&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Toyomitsu Taishirou|Taishirou Toyomitsu)(?: \| Fat Gum)?=>MHA.Taishirou Toyomitsu&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tsuchikawa Ryuuko|Ryuuko Tsuchikawa)(?: \| Pixie-bob)?=>MHA.Ryuuko Tsuchikawa&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Tsutsumi Kaina|Kaina Tsutsumi)(?: \| Lady Nagant)?=>MHA.Kaina Tsutsumi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Ukai Toomie|Toomie Ukai)(?: \| Takami Toomie)?=>MHA.Toomie Ukai&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Usagiyama Rumi|Rumi Usagiyama)(?: \| Miruko)?=>MHA.Rumi Usagiyama&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Yagi Toshinori|Toshinori Yagi)(?: \| All Might)?=>MHA.Toshinori Yagi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Yamada Hizashi|Hizashi Yamada)(?: \| Present Mic)?=>MHA.Hizashi Yamada&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?(Yotsubashi Rikiya|Rikiya Yotsubashi)(?: \| Re-Destro)?=>MHA.Rikiya Yotsubashi&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Shie Hassaikai Boss(?: \| Pops)?=>MHA.Pops&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Shie Hassaikai(?: \| Eight Precepts of Death)?=>MHA.Eight Precepts of Death&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Sensei \| All For One=>MHA.All For One&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Bruce \| Third One For All User=>MHA.Bruce&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Kudou \| Second One For All User=>MHA.Kudou&&category=>My Hero Academia
 characters,ships=>(?:.*\.)*?Yoichi \| First One For All User=>MHA.Yoichi&&category=>My Hero Academia

##-----------------------------------Metadata Replacements:  Soul Eater (Ao3)
 characters,ships=>(?:.*\.)*?[Dd]eath [Tt]he [Kk]id=>SE.Kid&&category=>Soul Eater
 characters,ships=>(?:.*\.)*?(?:Nakatsukasa Tsubaki|Tsubaki Nakatsukasa)=>SE.Tsubaki Nakatsukasa&&category=>Soul Eater
##-----------------------------------Metadata Replacements:  Slayers (Ao3)
 category=>Slayers \(Anime &amp; Manga\)=>Slayers
 category=>Slayers \(anime\)=>Slayers
 category=>Slayers(?: Next)? \- Fandom=>Slayers
 characters,ships=>\Slayers\)=>&&category=>Slayers
 characters,ships=>(?:.*\.)*?Lina( Inverse)?=>Slayers.Lina Inverse&&category=>Slayers
 characters,ships=>(?:.*\.)*?Amelia( Wil Tesla Seyruun)?=>Slayers.Amelia&&category=>Slayers

##-----------------------------------Metadata Replacements:  Tomb Raider (Ao3)
 category=>Tomb Raider(?: &amp; Related Fandoms?| \(Video Games?\)| \- [Ff]andom)=>Tomb Raider

##-----------------------------------Metadata Replacements:  Dishonored (Ao3)
 characters,ships=>\(Dishonored\)=>
 characters,ships=>(?:.*\.)*?The Loyalists=>DH.Loyalists&&category=>Dishonored

##-----------------------------------Metadata Replacements:  Avatar: The Last Airbender (Ao3)
 characters,ships=>\(Avatar\)=>

##-----------------------------------Metadata Replacements:  Azur Lane (Ao3)
 category=>碧蓝航线 \| Azur Lane (?:\(Video Game\))?=>Azur Lane
 characters,ships=> ?\(Azur Lane\)=>

##-----------------------------------Metadata Replacements:  My Next Life as a Villainness | Hamefura (Ao3)
 category=>(?:乙女ゲームの破滅フラグしかない悪役令嬢に転生してしまった… \| )?My Next Life as a Villainess(?: \(Anime\))?=>My Next Life as a Villainess
 category=>(?:乙女ゲームの破滅フラグしかない悪役令嬢に転生してしまった… - 山口悟 \| )My Next Life as a Villainess(?: - Yamaguchi Satoru)?(?: \(Light Novels\))?=>My Next Life as a Villainess

 characters,ships=> ?\(My Next Life as a Villainess\)=>
 characters,ships=>(?:.*\.)*?(.+)=>Hamefura.\1&&category=>My Next Life as a Villainess

##-----------------------------------Metadata Replacements:  Star Wars (Ao3)
 category=>Rogue One\: A Star Wars Story \(2016\)=>Star Wars.Rogue One
 category=>Star Wars\: The Clone Wars(?: \(2008\))?=>Star Wars.Clone Wars
 category=>Star Wars Prequel Trilogy=>Star Wars.Prequel Trilogy

 characters,ships=\(Star Wars\)=>&&category=>Star Wars
 characters,ships=>(?:.*\.)*?Original Jedi Character(?:\(s\))?=>SW.OC.Jedi&&category=>Star Wars
 characters,ships=>(?:.*\.)*?Original Clone Trooper Character(?:\(s\))?=>SW.OC.Clone Trooper&&category=>Star Wars
 characters,ships=>(?:.*\.)*?Original Droid Characters?=>SW.OC.Droid&&category=>Star Wars

##-----------------------------------Metadata Replacements:  RWBY (Ao3)
 characters,ships=>\(RWBY\)=>
 characters,ships=>(?:.*\.)*?Ruby Rose=>RWBY.Ruby Rose&&category=>RWBY
 characters,ships=>(?:.*\.)*?Blake Belladonna=>RWBY.Blake Belladonna&&category=>RWBY
 characters,ships=>(?:.*\.)*?Yang Xiao Long=>RWBY.Yang Xiao Long&&category=>RWBY
 characters,ships=>(?:.*\.)*?Weiss Schnee=>RWBY.Weiss Schnee&&category=>RWBY
 characters,ships=>(?:.*\.)*?Winter Schnee=>RWBY.Winter Schnee&&category=>RWBY
##-----------------------------------Metadata Replacements:  Bleach (Ao3)
 characters,ships=>\(Bleach\)=>
 characters,ships=>(?:.*\.)*\b(Kurosaki|Kuchiki)\b (\b\w*\b)=>Bleach.\2 \1&&category=>Bleach

 characters,ships=>(?:.*\.)*Yamamoto Genryuu?sai=>Bleach.Genryūsai Yamamoto&&category=>Bleach

##-----------------------------------Metadata Replacements:  Genshin Impact (Ao3)
 category=>原神 \| Genshin Impact=>Genshin Impact
 characters,ships=>\(Genshin Impact\)=>
 characters,ships=>(?:.*\.)*?(?:Ying \| )?Lumine=>GI.Lumine&&category=>Genshin Impact
 characters,ships=>(?:.*\.)*?(?:Kong \| )?Aether=>GI.Aether&&category=>Genshin Impact

##-----------------------------------Metadata Replacements:  Danmachi (Ao3)
 category=>(ダンジョンに出会いを求めるのは間違っているだろうか \| )?Dan[Mm]achi( \| Is It Wrong to Try to Pick Up Girls in a Dungeon\?)?( \(Anime\))?=>Danmachi
 characters,ships=> \([Dd]an[Mm]achi\)=>

 characters,ships=>(?:.*\.)*?(.+)=>Danmachi.\1&&category=>Danmachi
 characters,ships\bAis\b=>Aiz&&category=>Danmachi
 characters,ships\b[LlRr]yuu?\b=>Ryuu&&category=>Danmachi

##-----------------------------------Metadata Replacements:  Jujutsu Kaisen (Ao3)
 characters,ships=> \([Jj]ujutsu [Kk]aisen]\)=>
 characters,ships=>(:?.*\.)*?(?:[Aa]manai [Rr]iko|[Rr]iko [Aa]manai)=>JJK.Riko Amanai&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Ff]ushiguro [Mm]egumi|[Mm]egumi [Ff]ushiguro)=>JJK.Megumi Fushiguro&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Ff]ushiguro [Tt]oji|[Tt]oji [Ff]ushiguro)=>JJK.Toji Fushiguro&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Ff]ushiguro [Tt]sumiki|[Tt]sumiki [Ff]ushiguro)=>JJK.Tsumiki Fushiguro&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?Tsumiki Fushiguro\'s Mother=>JJK.Tsumiki Fushiguro\'s Mother&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Gg]akuganji [Yy]oshinobu|[Yy]oshinobu [Gg]akuganji)=>JJK.Yoshinobu Gakuganji&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Gg]etou? [Ss]uguru|[Ss]uguru [Gg]etou?)=>JJK.Suguru Geto&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Gg]ojo [Ss]atoru|[Ss]atoru [Gg]ojo)=>JJK.Satoru Gojo&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Hh]aibara [Yy]u|[Yy]u [Hh]aibara)=>JJK.Yu Haibara&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Hh]akari [Kk]inji|[Kk]inji [Hh]akari)=>JJK.Kinji Hakari&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Hh]asaba [Mm]imiko|[Mm]imiko [Hh]asaba)=>JJK.Mimiko Hasaba&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Hh]asaba [Nn]anako|[Nn]anako [Hh]asaba)=>JJK.Nanako Hasaba&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Hh]iguruma [Hh]iromi|[Hh]iromi [Hh]iguruma)=>JJK.Hiromi Higuruma&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Hh]oshi [Kk]irara|[Kk]irara [Hh]oshi)=>JJK.Kirara Hoshi&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Ii]eiri [Ss]hoko|[Ss]hoko [Ii]eiri)=>JJK.Shoko Ieiri&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Ii]jichi [Kk]iyotaka|[Kk]iyotaka [Ii]jichi)=>JJK.Kiyotaka Ijichi&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Ii]numaki [Tt]oge|[Tt]oge [Ii]numaki)=>JJK.Toge Inumaki&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Ii]ori [Uu]tahime|[Uu]tahime [Ii]ori)=>JJK.Utahime Iori&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Ii]tadori [Yy]uuji|[Yy]uuji [Ii]tadori)=>JJK.Yuuji Itadori&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?[Jj]ogo=>JJK.Jogo&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Kk]ashimo [Hh]ajime|[Hh]ajime [Kk]ashimo)=>JJK.Hajime Kashimo&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?[Kk]enjaku(?: \| Fake Getou Suguru)?=>JJK.Kenjaku&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Kk]ugisaki [Nn]obara|[Nn]obara [Kk]ugisaki)=>JJK.Nobara Kugisaki&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Kk]urusu [Hh]ana|[Hh]ana [Kk]urusu)=>JJK.Hana Kurusu&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Kk]usakabe [Aa]tsuya|[Aa]tsuya [Kk]usakabe)=>JJK.Atsuya Kusakabe&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?[Mm]ahito=>JJK.Mahito&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Mm]ei [Mm]ei|[Mm]ei [Mm]ei)=>JJK.Mei Mei&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?[Mm]ei[Mm]ei=>JJK.Mei Mei&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Mm]iwa [Kk]asumi|[Kk]asumi [Mm]iwa)=>JJK.Kasumi Miwa&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Nn]anami [Kk]ento|[Kk]ento [Nn]anami)=>JJK.Kento Nanami&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Oo]kkotsu [Yy]uu?ta|[Yy]uu?ta [Oo]kkotsu)=>JJK.Yuta Okkotsu&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Oo]zawa [Yy]uko|[Yy]uko [Oo]zawa)=>JJK.Yuko Ozawa&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?[Pp]anda=>JJK.Panda&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Ss]ukuna \| )?(?:[Rr]youmen [Ss]ukuna|[Ss]ukuna [Rr]youmen)=>JJK.Sukuna Ryoumen&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?[Tt]engen=>JJK.Tengen&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Tt]oudou [Aa]oi|[Aa]oi [Tt]oudou)=>JJK.Aoi Toudou&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Tt]sukumo [Yy]uki|[Yy]uki [Tt]sukumo)=>JJK.Yuki Tsukumo&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?[Uu]raume=>JJK.Uraume&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Uu]ro [Tt]akako|[Tt]akako [Uu]ro)=>JJK.Takako Uro&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Yy]aga [Mm]asamichi|[Mm]asamichi [Yy]aga)=>JJK.Masamichi Yaga&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?[Yy]orozu=>JJK.Yorozu&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Zz]enin [Mm]ai|[Mm]ai [Zz]enin)=>JJK.Mai Zenin&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Zz]enin [Mm]aki|[Mm]aki [Zz]enin)=>JJK.Maki Zenin&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?(?:[Zz]enin [Nn]aoya|[Nn]aoya [Zz]enin)=>JJK.Naoya Zenin&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?Gojo Clan=>JJK.Gojo Clan&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?Kamo Clan=>JJK.Kamo Clan&&category=>Jujutsu Kaisen
 characters,ships=>(:?.*\.)*?Zenin Clan=>JJK.Zenin Clan&&category=>Jujutsu Kaisen

##-----------------------------------Metadata Replacements:  Disgaea (Ao3)
 characters,ships=>(?:.*\.)*?(?:Purinī \| )?Prinnies=>Disgaea.Prinnies
 characters,ships=>(?:.*\.)*?(?:Etona \| )?Etna=>Disgaea.Etna
 characters,ships=>(?:.*\.)*?(?:Furon \| )?Flonne=>Disgaea.Flonne

##-----------------------------------Metadata Replacements:  HyperDimension Neptunia (Ao3)
 characters,ships=> \((?:Hyper[Dd]imension )?Neptunia\)=>&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?\b(?<!Big )\bNeptune\b(?: \| Purple Heart)?=>HDN.Neptune&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?\bNoire\b(?: \| Black Heart)?=>HDN.Noire&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?\bBlanc\b(?: \| White Heart)?=>HDN.Blanc&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?\bVert\b(?: \| Green Heart)?=>HDN.Vert&&category=>Hyperdimension Neptunia

 characters,ships=>(?:.*\.)?\bNepgear\b(?: \| Purple Sister)?=>HDN.Nepgear&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?\bUni\b(?: \| Black Sister)?=>HDN.Uni&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?\bRom\b(?: \| White Sister)?=>HDN.Rom&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?\bRam\b(?: \| White Sister)?=>HDN.Ram&&category=>Hyperdimension Neptunia

 characters,ships=>(?:.*\.)?\bPlutia\b(?: \| Iris Heart)?=>HDN.Vert&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?(?:Tennouboshi \bUzume\b|\bUzume\b Tennouboshi)\b(?: \| Orange Heart)?=>HDN.Uzume Tennouboshi&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?\bPeashy\b(?: \| Yellow Heart)?=>HDN.Peashy&&category=>Hyperdimension Neptunia

 characters,ships=>(?:.*\.)?\bBig\b \bNeptune\b=>HDN.Neptune.Adult&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?(?:Hakozaki Chika|Chika Hakozaki)=>HDN.Chika Hakozaki&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?\bLinda\b(?: \| Underling)?=>HDN.Linda&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?5pb\.=>HDN.5pb&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?(?:\bJinguji\b \bKei\b|\bKei\b \bJinguji\b)\b=>HDN.Kei Jinguji&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?(?:Nishizawa \bMina\b|\bMina\b Nishizawa)\b=>HDN.Mina Nishizawa&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?\bRei\b(?: \bRyghts\b)?=>HDN.Rei Ryghts&&category=>Hyperdimension Neptunia
 characters,ships=>(?:.*\.)?MAGES\.=>HDN.MAGES&&category=>Hyperdimension Neptunia

 characters,ships=>(?:.*\.)?Green Sister=>HDN.Green Sister&&category=>Hyperdimension Neptunia

##-----------------------------------Metadata Replacements:  Persona Series (Ao3)
 category=>Persona Q\: Shadow of the Labyrinth=>Persona.Q
 category=>Persona Series=>Persona
 characters,ships=>\(Persona Series\)=>
 characters,ships=>\(Persona\)=>
 characters,ships=>\(Persona 4\)=>
 characters,ships=>\(Persona 5\)=>
 characters,ships=>\(P4\)=>
 characters,ships=>\(P5\)=>
 characters,ships=>\(Shin Megami Tensei\)=>
 characters,ships=>\(Mshe\)=>
###Characters that appear across games
 characters,ships=>(?:.*\.)*?[Ii]gor=>P.Igor&&category=>Persona
 characters,ships=>(?:.*\.)*?[Pp]hilemon=>P.Philemon&&category=>Persona
 characters,ships=>(?:.*\.)*?[Rr]eaper=>P.Reaper&&category=>Persona
#Personas
 characters,ships=>(?:.*\.)*?\b[Mm]ot\b=>P.Mot&&category=>Persona
 characters,ships=>(?:.*\.)*?[Ss]uccubus=>P.Succubus&&category=>Persona
 characters,ships=>(?:.*\.)*?[Ii]ncubus=>P.Incubus&&category=>Persona
 characters,ships=>(?:.*\.)*?[Mm]essiah=>P.Messiah&&category=>Persona
 characters,ships=>(?:.*\.)*?[Oo]rpheus=>P.Orpheus&&category=>Persona
 characters,ships=>(?:.*\.)*?[Tt]hanatos=>P.Thanatos&&category=>Persona
 characters,ships=>(?:.*\.)*?\b[Mm]ara\b=>P.Mara&&category=>Persona
 characters,ships=>(?:.*\.)*?[Tt]rismegistus=>P.Trismegistus&&category=>Persona
 characters,ships=>(?:.*\.)*?[Hh]ermes=>P.Hermes&&category=>Persona
 characters,ships=>(?:.*\.)*?(?<![Mm]agatsu\-)[Ii]zanagi=>P.Izanagi&&category=>Persona
 characters,ships=>(?:.*\.)*?[Jj]iraiya=>P.Jiraiya&&category=>Persona
 characters,ships=>(?:.*\.)*?[Kk]onohana [Ss]akuya=>P.Konohana Sakuya&&category=>Persona
 characters,ships=>(?:.*\.)*?[Tt]omoe=>P.Tomoe&&category=>Persona
 characters,ships=>(?:.*\.)*?[Hh]imiko=>P.Himiko&&category=>Persona
 characters,ships=>(?:.*\.)*?[Mm]othman=>P.Mothman&&category=>Persona
 characters,ships=>(?:.*\.)*?[Tt]ake-[Mm]ikazuchi=>P.Take-Mikazuchi&&category=>Persona
 characters,ships=>(?:.*\.)*?[Ss]ukuna-[Hh]ikona=>P.Sukuna-Hikona&&category=>Persona
 characters,ships=>(?:.*\.)*?[Kk]intoki-[Dd]ouji=>P.Kintoki-Douji&&category=>Persona
 characters,ships=>(?:.*\.)*?[Mm]agatsu-[Ii]zanagi=>P.Magatsu-Izanagi&&category=>Persona
##-----------------------------------Metadata Replacements:  Persona 3 (Ao3)
 category=>Shin Megami Tensei\:? Persona 3=>Persona.3
 category=>Persona 3 Portable=>Persona.3
 category=>Persona 3 PSP=>Persona.3
 category=>Persona 3 FES=>Persona.3
 category=>Persona 3 aka Shin Megami Tensei Persona 3=>Persona.3
 category=>Shin Megami Tensei Persona 3=>Persona.3
 category=>Persona 3=>Persona.3
 category=>P3P=>Persona.3
 characters,ships=>\(Persona 3\)=>
 characters,ships=>\(Persona 3 Portable\)=>
# characters,ships=>Persona 3=>
 characters,ships=>\(P3\)=>
 characters,ships=>P3=>&&category=>Persona\.3
 characters,ships=>\(P3P\)=>
 characters,ships=>\b[Oo]r\b=>

###Team Names
#SEES
 characters,ships=>(?:.*\.)*?SEES cast=>P.3.SEES&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?SEES Team=>P.3.SEES&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?SEES \| Specialized Extracurricular Execution Squad=>P.3.SEES&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?SEES=>P.3.SEES&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?S\.E\.E\.S=>P.3.SEES&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?Specialized Extracurricular Execution Squad=>P.3.SEES&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?every SEES member is gonna be here I'm just not gonna tag them=>P.3.SEES&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?Persona 3 Ensemble=>P.3.SEES&&category=>Persona\.3
#Strega
 characters,ships=>(?:.*\.)*?Strega=>P.3.Strega&&category=>Persona\.3

###SEES Team
#Pre Main Character Replacements
 characters,ships=>[Mm]akoto=>Minato&&category=>Persona\.3
 characters,ships=>[Hh]amuko=>Minako&&category=>Persona\.3
 characters,ships=>[Yy]uu?ki=>Arisato&&category=>Persona\.3
#Minako Arisato
 characters,ships=>(?:.*\.)*?(?:[Ss]hiome [Kk]otone|[Kk]otone [Ss]hiome)=>P.3.Minako Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Mm]inako [Aa]risato|[Aa]risato [Mm]inako)=>P.3.Minako Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Ff]emale [Pp]ersona 3 [Pp]rotagonist=>P.3.Minako Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Ff]emale [Mm][Cc]=>P.3.Minako Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Ff]emale [Pp]rotagonist=>P.3.Minako Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Ff][Ee][Mm][Cc]=>P.3.Minako Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Mm][Ss][Hh][Ee]=>P.3.Minako Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Mm]inako(?! Arisato)=>P.3.Minako Arisato&&category=>Persona\.3
#Minato Arisato
 characters,ships=>(?:.*\.)*?persona 3 protagonist \| Arisato Minato \| Arisato Minato=>P.3.Minato Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Mm]ain [Cc]haracter \(Minato Arisato\)=>P.3.Minato Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Ss]hiomi [Ss]akuya|[Ss]akuya [Ss]hiomi)=>P.3.Minato Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Mm]inato [Aa]risato|[Aa]risato [Mm]inato)=>P.3.Minato Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Mm]ale )[Pp]ersona 3 [Pp]rotagonist=>P.3.Minato Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Pp]ersona 3 [Pp]rotagonist=>P.3.Minato Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Mm][Cc]=>P.3.Minato Arisato&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Mm]inato(?! Arisato)=>P.3.Minato Arisato&&category=>Persona\.3
#Yukari Takeba
 characters,ships=>(?:.*\.)*?(?:[Yy]ukari [Tt]akeba|[Tt]akeba [Yy]ukari|[Yy]ukari)=>P.3.Yukari Takeba&&category=>Persona\.3
#Junpei Iori
 characters,ships=>(?:.*\.)*?(?:[Jj]unpei [Ii]ori|[Ii]ori [Jj]unpei|[Jj]unpei)=>P.3.Junpei Iori&&category=>Persona\.3
#Akihiko Sanada
 characters,ships=>(?:.*\.)*?(?:[Aa]kihiko [Ss]anada|[Ss]anada [Aa]kihiko|[Aa]kihiko)=>P.3.Akihiko Sanada&&category=>Persona\.3
#Mitsuru Kirijo
 characters,ships=>(?:.*\.)*?(?:[Mm]itsuru [Kk]irijo|[Kk]irijo [Mm]itsuru|[Mm]itsuru)=>P.3.Mitsuru Kirijo&&category=>Persona\.3
#Fuuka Yamagishi
 characters,ships=>(?:.*\.)*?(?:[Ff]uu?ka [Yy]amagishi|[Yy]amagishi [Ff]uu?ka|\b[Ff]uu?ka\b)=>P.3.Fuuka Yamagishi&&category=>Persona\.3
#Koromaru
 characters,ships=>(?:.*\.)*?[Kk]oromaru=>P.3.Koromaru&&category=>Persona\.3
#Aigis
 characters,ships=>(?:.*\.)*?[Aa]igis=>P.3.Aigis&&category=>Persona\.3
#Ken Amada
 characters,ships=>(?:.*\.)*?(?:[Kk]en [Aa]mada|[Aa]mada [Kk]en|\b[Kk]en\b)=>P.3.Ken Amada&&category=>Persona\.3
#Shinjiro Aragaki
 characters,ships=>(?:.*\.)*?(?:[Ss]hinjiro [Aa]ragaki|[Aa]ragaki [Ss]hinjiro|[Ss]hinjiro)=>P.3.Shinjiro Aragaki&&category=>Persona\.3
#Metis
 characters,ships=>(?:.*\.)*?[Mm]etis=>P.3.Metis&&category=>Persona\.3

###Social Links?
#Ryoji Mochizuki
 characters,ships=>(?:.*\.)*?(?:[Rr]yoji [Mm]ochizuki|[Mm]ochizuki [Rr]yoji|[Rr]yoji)=>P.3.Ryoji Mochizuki&&category=>Persona\.3
#Kenji Tomochika
 characters,ships=>(?:.*\.)*?(?:[Kk]enji [Tt]omochika|[Tt]omochika [Kk]enji|[Kk]enji)=>P.3.Kenji Tomochika&&category=>Persona\.3
#Hidetoshi Odagiri
 characters,ships=>(?:.*\.)*?(?:[Hh]idetoshi [Oo]dagiri|[Oo]dagiri [Hh]idetoshi|[Hh]idetoshi)=>P.3.Hidetoshi Odagiri&&category=>Persona\.3
#Nozomi Suemitsu
 characters,ships=>(?:.*\.)*?(?:[Nn]ozomi [Ss]uemitsu|[Ss]uemitsu [Nn]ozomi|[Nn]ozomi)=>P.3.Nozomi Suemitsu&&category=>Persona\.3
#Chihiro Fushimi
 characters,ships=>(?:.*\.)*?(?:[Cc]hihiro [Ff]ushimi|[Ff]ushimi [Cc]hihiro|[Cc]hihiro)=>P.3.Chihiro Fushimi&&category=>Persona\.3
#Keisuke Hiraga
 characters,ships=>(?:.*\.)*?(?:[Kk]eisuke [Hh]iraga|[Hh]iraga [Kk]eisuke|[Kk]eisuke)=>P.3.Keisuke Hiraga&&category=>Persona\.3
#Kazushi Miyamoto
 characters,ships=>(?:.*\.)*?(?:[Kk]azushi [Mm]iyamoto|[Mm]iyamoto [Kk]azushi|[Kk]azushi)=>P.3.Kazushi Miyamoto&&category=>Persona\.3
#Yuko Nishiwaki
 characters,ships=>(?:.*\.)*?(?:[Yy]uko [Nn]ishiwaki|[Nn]ishiwaki [Yy]uko|[Yy]uko)=>P.3.Yuko Nishiwaki&&category=>Persona\.3
#Rio Iwasaki
 characters,ships=>(?:.*\.)*?(?:[Rr]io [Ii]wasaki|[Ii]wasaki [Rr]io|\b[Rr]io\b)=>P.3.Rio Iwasaki&&category=>Persona\.3
#Saori Hasegawa
 characters,ships=>(?:.*\.)*?(?:[Ss]aori [Hh]asegawa|[Hh]asegawa [Ss]aori|[Ss]aori)=>P.3.Saori Hasegawa&&category=>Persona\.3
#Natsuki Moriyama
 characters,ships=>(?:.*\.)*?(?:[Nn]atsuki [Mm]oriyama|[Mm]oriyama [Nn]atsuki|[Nn]atsuki)=>P.3.Natsuki Moriyama&&category=>Persona\.3
#Kiyoshi Sakuma
 characters,ships=>(?:.*\.)*?(?:[Kk]iyoshi [Ss]akuma|[Ss]akuma [Kk]iyoshi|[Kk]iyoshi)=>P.3.Kiyoshi Sakuma&&category=>Persona\.3
#Maiko Oohashi
 characters,ships=>(?:.*\.)*?(?:[Mm]aiko [Oo]ohashi|[Oo]ohashi [Mm]aiko|[Mm]aiko)=>P.3.Maiko Oohashi&&category=>Persona\.3
#Bunkichi Kitamura
 characters,ships=>(?:.*\.)*?(?:[Bb]unkichi [Kk]itamura|[Kk]itamura [Bb]unkichi|[Bb]unkichi)=>P.3.Bunkichi Kitamura&&category=>Persona\.3
#Mitsuko Kitamura
 characters,ships=>(?:.*\.)*?(?:[Mm]itsuko [Kk]itamura|[Kk]itamura [Mm]itsuko)=>P.3.Mitsuko Kitamura&&category=>Persona\.3
#Mutatsu
 characters,ships=>(?:.*\.)*?[Mm]utatsu=>P.3.Mutatsu&&category=>Persona\.3
#Akinari Kamiki
 characters,ships=>(?:.*\.)*?(?:[Aa]kinari [Kk]amiki|[Kk]amiki [Aa]kinari|[Aa]kinari)=>P.3.Akinari Kamiki&&category=>Persona\.3
#Mamoru Hayase
 characters,ships=>(?:.*\.)*?(?:[Mm]amoru [Hh]ayase|[Hh]ayase [Mm]amoru|[Mm]amoru)=>P.3.Mamoru Hayase&&category=>Persona\.3
#Isako Toriumi
 characters,ships=>(?:.*\.)*?(?:[Ii]sako [Tt]oriumi|[Tt]oriumi [Ii]sako|[Ii]sako|(?:[Mm]s\.? ?)?[Tt]oriumi)=>P.3.Isako Toriumi&&category=>Persona\.3
#Tanaka
 characters,ships=>(?:.*\.)*?(?:[Pp]resident [Tt]anaka|[Tt]anaka)=>P.3.Tanaka&&category=>Persona\.3
#Bebe
 characters,ships=>(?:.*\.)*?[Aa]ndre \"[Bb]ebe\" [Rr]oland [Jj]ean [Gg]erard=>P.3.Bebe&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Bb]ebe aka [Aa]ndre [Rr]oland [Jj]ean [Gg]erard=>P.3.Bebe&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Aa]ndre [Ll]aurent [Jj]ean [Gg]eraux=>P.3.Bebe&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Bb]ebe=>P.3.Bebe&&category=>Persona\.3
 
###Velvet Room
 characters,ships=>(?:.*\.)*?[Ee]lizabeth=>P.3.Elizabeth&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Tt]heodore=>P.3.Theodore&&category=>Persona\.3
 
###Strega 
 characters,ships=>(?:.*\.)*?(?:[Ss]huji [Ii]kutsuki|[Ii]kutsuki [Ss]huji|\b[Ss]huji\b|\b[Ii]kutsuki\b)=>P.3.Shuji Ikutsuki&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Cc]hidori [Yy]oshino|[Yy]oshino [Cc]hidori|[Cc]hidori)=>P.3.Chidori Yoshino&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Tt]akaya [Ss]akaki|[Ss]akaki [Tt]akaya|[Tt]akaya)=>P.3.Takaya Sakaki&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Jj]in [Ss]hirato|[Ss]hirato [Jj]in|\b[Jj]in\b)=>P.3.Jin Shirato&&category=>Persona\.3

###Others
 characters,ships=>(?:.*\.)*?(?:[Mm]iki [Ss]anada|[Ss]anada [Mm]iki|\b[Mm]iki\b)=>P.3.Miki Sanada&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Ee]iichiro [Tt]akeba|[Tt]akeba [Ee]iichiro|[Ee]iichiro)=>P.3.Eiichiro Takeba&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Tt]akeharu [Kk]irijo|[Kk]irijo [Tt]akeharu|[Tt]akeharu)=>P.3.Takeharu Kirijo&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Kk]ikuno [Ss]aikawa|[Ss]aikawa [Kk]ikuno|[Kk]ikuno)=>P.3.Kikuno Saikawa&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Nn]yx|[Aa]vatar)=>P.3.Nyx&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Ee]rebus=>P.3.Erebus&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Pp]haros=>P.3.Pharos&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?[Oo]fficer [Kk]urosawa=>P.3.Officer Kurosawa&&category=>Persona\.3
#Other Teachers
 characters,ships=>(?:.*\.)*?(?:[Ee]miri [Kk]anou|[Kk]anou [Ee]miri|[Ee]miri)=>P.3.Emiri Kanou&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Mm]r\.? ?)?[Ee]koda=>P.3.Ekoda&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Mm]r\.? ?)?[Ee]dogawa=>P.3.Edogawa&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Mm]r\.? ?)?\b[Oo]no\b=>P.3.Ono&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Mm]r?s\.? ?)?[Tt]erauchi=>P.3.Terauchi&&category=>Persona\.3
 characters,ships=>(?:.*\.)*?(?:[Mm]s\.? ?)?[Mm]iyahara=>P.3.Miyahara&&category=>Persona\.3

###Alt Pairing Names
 ships=>[Ss]huyuka=>P.3.Minato Arisato/Yukari Takeba&&category=>Persona\.3
 
##-----------------------------------Metadata Replacements:  Persona 4 (Ao3)
 category=>Persona 4=>Persona.4

#Investigation Team
 characters,ships=>(?:.*\.)*?[Ii]nvestigation [Tt]eam=>P.4.Investigation Team&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Tt]he entire IT=>P.4.Investigation Team&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Tt]he rest of the IT=>P.4.Investigation Team&&category=>Persona.4
 
###IT Team Members
#Yu Narukami
 characters,ships=>(?:.*\.)*?[Nn]arukami [Yy]u\|[Ss]eta [Ss]ouji|[Yy]u [Nn]arukami\|[Ss]ouji [Ss]eta=>P.4.Yu Narukami&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Ss]eta [Ss]ouji\|[Nn]arukami [Yy]u|[Ss]ouji [Ss]eta\|[Yy]u [Nn]arukami=>P.4.Yu Narukami&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Yy]uu? [Nn]arukami|[Nn]arukami [Yy]uu?|[Nn]arukami|\b[Yy]uu?\b=>P.4.Yu Narukami&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Ss]ouji [Ss]eta|[Ss]eta [Ss]ouji|[Ss]eta|[Ss]ouji=>P.4.Yu Narukami&&category=>Persona.4
 characters,ships=>(?:.*\.)*?(?<![Ff]emale )[Pp]ersona 4 [Pp]rotagonist=>P.4.Yu Narukami&&category=>Persona.4
#Female Yu Narukami
# characters=>(?:.*\.)*?[Ff]emale [Pp]ersona 4 [Pp]rotagonist=>P.4.Yu Narukami.female
# characters=>(?:.*\.)*?[Kk]yoko [Nn]arukami=>P.4.Yu Narukami.female

#Yukiko Amagi
 characters,ships=>(?:.*\.)*?[Yy]ukiko [Aa]magi|[Aa]magi [Yy]ukiko|[Aa]magi|[Yy]ukiko=>P.4.Yukiko Amagi&&category=>Persona.4
#Chie Satonaka
 characters,ships=>(?:.*\.)*?[Cc]hie [Ss]atonaka|[Ss]atonaka [Cc]hie|[Ss]atonaka|\b[Cc]hie\b=>P.4.Chie Satonaka&&category=>Persona.4
#Yosuke Hanamura
 characters,ships=>(?:.*\.)*?[Yy]osuke [Hh]anamura|[Hh]anamura [Yy]osuke|[Hh]anamura|[Yy]osuke=>P.4.Yosuke Hanamura&&category=>Persona.4
#Naoto Shirogane
 characters,ships=>(?:.*\.)*?[Nn]aoto [Ss]hirogane|[Ss]hirogane [Nn]aoto|[Ss]hirogane|\b[Nn]aoto\b=>P.4.Naoto Shirogane&&category=>Persona.4
#Rise Kujikawa
 characters,ships=>(?:.*\.)*?[Rr]ise [Kk]ujikawa|[Kk]ujikawa [Rr]ise|[Kk]ujikawa|\b[Rr]ise\b=>P.4.Rise Kujikawa&&category=>Persona.4
#Kanji Tatsumi
 characters,ships=>(?:.*\.)*?[Kk]anji [Tt]atsumi|[Tt]atsumi [Kk]anji|[Tt]atsumi|\b[Kk]anji\b=>P.4.Kanji Tatsumi&&category=>Persona.4
#Teddie
 characters,ships=>(?:.*\.)*?[Kk]uma \| [Tt]eddie|[Tt]eddie|[Kk]uma=>P.4.Teddie&&category=>Persona.4

###Other Social Links
#Nanako Dojima
 characters,ships=>(?:.*\.)*?[Nn]anako [Dd]ojima|[Dd]ojima [Nn]anako|[Dd]ojima|[Nn]anako=>P.4.Nanako Dojima&&category=>Persona.4
#Ryotaro Dojima
 characters,ships=>(?:.*\.)*?[Rr]yotaro [Dd]ojima|[Dd]ojima [Rr]yotaro|[Dd]ojima|[Rr]yotaro=>P.4.Ryotaro Dojima&&category=>Persona.4
#Ai Ebihara
 characters,ships=>(?:.*\.)*?[Aa]i [Ee]bihara|[Ee]bihara [Aa]i|[Ee]bihara|[Aa]i=>P.4.Ai Ebihara&&category=>Persona.4
#Kou Ichijo
 characters,ships=>(?:.*\.)*?[Kk]ou [Ii]chijo|[Ii]chijo [Kk]ou|[Ii]chijo|[Kk]ou=>P.4.Kou Ichijo&&category=>Persona.4
#Daisuke Nagase
 characters,ships=>(?:.*\.)*?[Dd]aisuke [Nn]agase|[Nn]agase [Dd]aisuke|[Nn]agase|[Dd]aisuke=>P.4.Daisuke Nagase&&category=>Persona.4
#Sayoko Uehara
 characters,ships=>(?:.*\.)*?[Ss]ayoko [Uu]ehara|[Uu]ehara [Ss]ayoko|[Uu]ehara|[Ss]ayoko=>P.4.Sayoko Uehara&&category=>Persona.4
#Shu Nakajima
 characters,ships=>(?:.*\.)*?[Ss]hu [Nn]akajima|[Nn]akajima [Ss]hu|[Nn]akajima|[Ss]hu=>P.4.Shu Nakajima&&category=>Persona.4
#Naoki Konishi
 characters,ships=>(?:.*\.)*?[Nn]aoki [Kk]onishi|[Kk]onishi [Nn]aoki|[Kk]onishi|[Nn]aoki=>P.4.Naoki Konishi&&category=>Persona.4
#Ayane Matsunaga
 characters,ships=>(?:.*\.)*?[Aa]yane [Mm]atsunaga|[Mm]atsunaga [Aa]yane|[Mm]atsunaga|[Aa]yane=>P.4.Ayane Matsunaga&&category=>Persona.4
#Yumi Ozawa
 characters,ships=>(?:.*\.)*?[Yy]umi [Oo]zawa|[Oo]zawa [Yy]umi|[Oo]zawa|[Yy]umi=>P.4.Yumi Ozawa&&category=>Persona.4
#Eri Minami
 characters,ships=>(?:.*\.)*?[Ee]ri [Mm]inami|[Mm]inami [Ee]ri|[Mm]inami|[Ee]ri=>P.4.Eri Minami&&category=>Persona.4
#Shine Fox | Kitsune
 characters,ships=>(?:.*\.)*?[Kk]itsune \| [Ff]ox|[Ss]hrine [Ff]ox=>P.4.Shrine Fox&&category=>Persona.4

###Velvet Room
 characters,ships=>(?:.*\.)*?[Mm]arie=>P.4.Marie&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Mm]argaret=>P.4.Margaret&&category=>Persona.4
 
###Other Characters
 characters,ships=>(?:.*\.)*?[Ss]aki [Kk]onishi|[Kk]onishi [Ss]aki|[Kk]onishi|[Ss]aki=>P.4.Saki Konishi&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Mm]ayumi [Yy]amano|[Yy]amano [Mm]ayumi|[Yy]amano|[Mm]ayumi=>P.4.Mayumi Yamano&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Mm]inoru [Ii]noue|[Ii]noue [Mm]inoru|[Ii]noue|[Mm]inoru=>P.4.Minoru Inoue&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Yy]uuta [Mm]inami|[Mm]inami [Yy]uuta|[Mm]inami|[Yy]uuta=>P.4.Yuuta Minami&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Hh]anako [Oo]htani|[Oo]htani [Hh]anako|[Oo]htani|[Hh]anako=>P.4.Hanako Ohtani&&category=>Persona.4
##P4 Teachers
 characters,ships=>(?:.*\.)*?[Mm]orooka [Kk]inshiro|[Kk]inshiro [Mm]orooka|[Kk]inshiro|[Mm]orooka=>P.4.Morooka Kinshiro&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Kk]imiko [Ss]ofue|[Ss]ofue [Kk]imiko|[Ss]ofue|[Kk]imiko=>P.4.Kimiko Sofue&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Nn]oriko [Kk]ashiwagi|[Kk]ashiwagi [Nn]oriko|[Kk]ashiwagi|[Nn]oriko=>P.4.Noriko Kashiwagi&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Mm]r\. [Yy]amada=>P.4.Mr Yamada&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Mm]r\. [Hh]osoi=>P.4.Mr Hosoi&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Mm]r\. [Kk]ondo=>P.4.Mr Kondo&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Mm]rs\. [Nn]akayama=>P.4.Mrs Nakayama&&category=>Persona.4

##P4 Character's Parents
 characters,ships=>(?:.*\.)*?[Cc]hisato [Dd]ojima|[Dd]ojima [Cc]hisato|[Dd]ojima|[Cc]hisato=>P.4.Chisato Dojima&&category=>Persona.4

###P4 Villians
#Izanami
 characters,ships=>(?:.*\.)*?[Ii]zanami=>P.4.Izanami&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Ii]zanami\-[Nn]o\-[Mm]ikoto=>P.4.Izanami&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Gg]as [Ss]tation [Aa]ttendant=>P.4.Izanami&&category=>Persona.4
#Other Villians
 characters,ships=>(?:.*\.)*?[Tt]ohru [Aa]dachi|[Aa]dachi [Tt]ohru|[Aa]dachi|[Tt]ohru=>P.4.Tohru Adachi&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Kk]unino\-[sS]agiri=>P.4.Kunino-sagiri&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Aa]meno\-[sS]agiri=>P.4.Ameno-sagiri&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Mm]itsuo [Kk]ubo|[Kk]ubo [Mm]itsuo|[Kk]ubo|[Mm]itsuo=>P.4.Mitsuo Kubo&&category=>Persona.4
 characters,ships=>(?:.*\.)*?[Tt]aro [Nn]amatame|[Nn]amatame [Tt]aro|[Nn]amatame|[Tt]aro=>P.4.Taro Namatame&&category=>Persona.4

##-----------------------------------Metadata Replacements:  Persona 5 (Ao3)
 category=>Persona 5=>Persona.5
##-----------------------------------Metadata Replacements:  Persona Series Ending meta_data replacements (Ao3)
#This is basically pairing cleanup, just for this fandom, the typical pairing cleanup doesn't deal well with the P.4
 ships=>(?<!^)P\.3\.&&category=>Persona
 ships=>(?<!^)P\.4\.&&category=>Persona
 ships=>(?<!^)P\.5\.&&category=>Persona

##-----------------------------------Metadata Replacements:  Long Live the Queen (Ao3)
 characters,ships=>\(Long Live the Queen\)=>
 characters,ships=>(?:.*\.)*?[Ee]lodie=>LLtQ.Elodie&&category=>Long Live [Tt]he Queen

##-----------------------------------Metadata Replacements:  One Step from Eden (Ao3)
 characters,ships=>\([Oo]ne [Ss]tep [Ff]rom [Ee]den\)=>

##-----------------------------------Metadata Replacements:  Hollow Knight (Ao3)
 characters,ships=>\(Hollow Knight\)=>

##-----------------------------------Metadata Replacements:  Machikado Mazoku (Ao3)
 category=>(?:まちカドまぞく \| )?Machikado Mazoku(?: \| )?(?:The Demon Girl Next Door)?(?: \(Anime\))?=>Machikado Mazoku
 characters,ships=>(?:Yoshida (?:\"Shamiko\" )?Yuu?ko|Yuu?ko (?:\"Shamiko\" )?Yoshida)(?: \(Machikado Mazoku\))?=>MM.Yuuko Yoshida&&category=>Machikado Mazoku
 characters,ships=>(?:Chiyoda Momo|Momo Chiyoda)(?: \(Machikado Mazoku\))?=>MM.Momo Chiyoda&&category=>Machikado Mazoku
 characters,ships=>(?:Chiyoda Sakura|Sakura Chiyoda)(?: \(Machikado Mazoku\))?=>MM.Sakura Chiyoda&&category=>Machikado Mazoku
 characters,ships=>Lilith(?: \(Machikado Mazoku\))?=>MM.Lilith&&category=>Machikado Mazoku
 characters,ships=>Hinatsuki Mikan(?: \(Machikado Mazoku\))?=>MM.Mikan Hinatsuki&&category=>Machikado Mazoku
 characters,ships=>Yoshida Seiko(?: \(Machikado Mazoku\))?=>MM.Seiko Yoshida&&category=>Machikado Mazoku
 characters,ships=>Yoshida Ryou?ko(?: \(Machikado Mazoku\))?=>MM.Ryoko Yoshida&&category=>Machikado Mazoku
 characters,ships=>Ugallu(?: \(Machikado Mazoku\))?=>MM.Ugallu&&category=>Machikado Mazoku
 characters,ships=>Sata Anri(?: \(Machikado Mazoku\))?=>MM.Anri Sata&&category=>Machikado Mazoku
 characters,ships=>Ogura Sion(?: \(Machikado Mazoku\))?=>MM.Sion Ogura&&category=>Machikado Mazoku
 characters,ships=>Gusion(?: \(Machikado Mazoku\))?=>MM.Gusion&&category=>Machikado Mazoku
 characters,ships=>Shu Honyu(?: \(Machikado Mazoku\))?=>MM.Honyu Shu&&category=>Machikado Mazoku
 characters,ships=>Lico(?: \(Machikado Mazoku\))?=>MM.Lico&&category=>Machikado Mazoku
 characters,ships=>Shirosawa(?: \(Machikado Mazoku\))?=>MM.Shirosawa&&category=>Machikado Mazoku
 characters,ships=>Metako(?: \(Machikado Mazoku\))?=>MM.Metako&&category=>Machikado Mazoku
 characters,ships=>Zikiel(?: \(Machikado Mazoku\))?=>MM.Zikiel&&category=>Machikado Mazoku
 characters,ships=>Ochiai(?: \(Machikado Mazoku\))?=>MM.Ochiai&&category=>Machikado Mazoku
 characters,ships=>Nagayama(?: \(Machikado Mazoku\))?=>MM.Nagayama&&category=>Machikado Mazoku
 characters,ships=>Minamino(?: \(Machikado Mazoku\))?=>MM.Minamino&&category=>Machikado Mazoku
 characters,ships=>Tsurumaki(?: \(Machikado Mazoku\))?=>MM.Tsurumaki&&category=>Machikado Mazoku

##-----------------------------------Metadata Replacements:  Twilight (Ao3)
 category=>Twilight(?: Series)?(?: - Stephenie Meyers)?=>Twilight
 characters,ships=>\(Twilight\)=>


##Ao3 Pairing Cleanup
 ships=>([A-z0-9+!/]*\.)(?:\1)?([^/]*/?)?(?:[A-z0-9+!/]*\.)?([^/]*/?)?(?:[A-z0-9+!/]*\.)?([^/]*/?)?(?:[A-z0-9+!/]*\.)?([^/]*/?)?(?:[A-z0-9+!/]*\.)?([^/]*/?)?(?:[A-z0-9+!/]*\.)?([^/]*/?)?(?:[A-z0-9+!/]*\.)?([^/]*/?)?(?:[A-z0-9+!/]*\.)?([^/]*/?)?(?:[A-z0-9+!/]*\.)?([^/]*/?)?=>\1\2\3\4\5\6\7\8\9\10
 ships=>^(.*\.)*?([Bb]ackground|[Pp]ast|[Ii]mplied) (.*)=>\1\3.\2
Attached Files
File Type: txt tmp0mpmldqc.txt (93.8 KB, 30 views)
icecold is offline   Reply With Quote
Old 04-28-2025, 12:38 PM   #10663
BigBee
Junior Member
BigBee began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2025
Device: Android
Quote:
Originally Posted by Ghostcat View Post
Do you have the "Keep the Existing Tags when Updating Metadata" box checked in FFF Configure?

FFF does not erase any of my custom tags.
I do. Many tags I add start with brackets (usually parenthesis) and I think that's the issue, but I haven't gone out of my way to experiment. I would now but Ao3 seems to be having issues.
BigBee is offline   Reply With Quote
Old 04-28-2025, 01:03 PM   #10664
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,646
Karma: 74166147
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by BigBee View Post
I do. Many tags I add start with brackets (usually parenthesis) and I think that's the issue, but I haven't gone out of my way to experiment. I would now but Ao3 seems to be having issues.
If you use it, custom_columns_settings also needs an override:

Code:
## (Plugin Only) - You can also populate calibre custom columns with
## the site specific metadata using custom_columns_settings (but only
## if 'Allow custom_columns_settings from personal.ini' is checked in
## the plugin GUI config.)  There are three parts, the entry name,
## then the label of the calibre custom column, then (optionally) a
## 'mode'.  'r' to Replace any existing values, 'a' to Add to existing
## value (use with tag-like columns), and 'n' for setting on New books
## only.  (Default is 'r'.)
ownedbycats is offline   Reply With Quote
Old 04-28-2025, 02:21 PM   #10665
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: 6,833
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by icecold View Post
It seems like something about my add_to_replace_metadata section is causing the issue. If I remove that portion, I can download fics is just fine. I'm not sure if it's a bit of very promblematic regex or it it's the sheer length length of it.
I think using that many lines is kinda crazy, but it should still work. (And I suspect you will get unintended substitutions if you stray from your currently preferred fandoms, but that's not a technical issue.)

Regardless, I, too, saw it hang with these settings.

I added some instrumentation to the code and found that the regex search was getting hung on replacement line(s) with leading (?:.*.)*? such as:
Code:
 characters,ships=>(?:.*.)*?Amber=>HI3.Amber
Removing that line, just moved it down to the next one. It also only happens when the input string is 'long enough'--in this case "Golden Deer Students (Fire Emblem)"

Replacing all (?:.*.)*? (which is honestly a bit nonsensical) with (?:.*\.)*? (which I don't understand the purpose, but works in other lines) seems to fix the problem:

Code:
 characters,ships=>(?:.*\.)*?Amber=>HI3.Amber
This isn't FFF specific, it's happening in python's regexp engine:
Code:
Python 3.12.0 (tags/v3.12.0:0fb18b0, Oct  2 2023, 13:03:39) [MSC v.1935 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> val = "Golden Deer Students (Fire Emblem)"
>>> rep = re.compile(r'(?:.*.)*?Amber=>HI3.Amber')
>>> rep.search(val)
(hangs indefinitely)
Using regex101.com, it reports "Catastrophic backtracking". See https://regex101.com/r/A9HEGn/1

Why Python doesn't detect and report that, I don't know.

So, basically, don't use (?:.*.)*?.
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 514 03-23-2025 10:26 AM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 05:39 AM.


MobileRead.com is a privately owned, operated and funded community.