Question (and [url=https://archiveofourown.org/works/24179737]story to test with[/url):
Code:
## Adds "Crossover" if more than one category after category replaces/includes/excludes.
add_category_when_multi_category:Crossover
replace_metdata:
## tagcategory standardization
tagscategory=>(Mass Effect: Andromeda|Mass Effect Trilogy)=>Mass Effect
tagscategory=>Pokémon=>Video Games
# Sorts anything other than a few selected categories into "Fanfiction.Other"
tagscategory=>Crossover=>
tagscategory=>^(?!.*(Half-Life|Portal|Mass Effect|The Elder Scrolls|Disney|Star Trek|(Animated )?Movies & Television|Books & Literature|Video Games)).*$=>Other
# Adds Fanfiction. to the beginning of tagcategory
tagscategory=>^(.*)$=>Fanfiction.\1
If I include the crossover replace, I get a Fanfiction.Other on every fic with a crossover category (so not mismatch on these specific ones). What's happening?