It's hard to tell what's going on without seeing the other replace_metadatas, but some random things that have helped me figure out similar issues:
One thing to try is changing "Marvel" in the first line to ^Marvel$ to make it an exact string match and thus not mess up any strings just containing the word.
If you use a longtext metadata column, also check that to make sure your fics are still using "Marvel (Marvel Movies)" If the pattern changed (AO3 sometimes tweaks the category naming) it could break the regex.
Last edited by ownedbycats; 01-16-2021 at 05:59 PM.
|