The replace_metadata for
this fic is giving me a bit of hassle.
Half-Life (Video Games), Game: Black Mesa (Half-Life) - Fandom
Code:
replace_metadata:
category=> \([0-9]+\)| \(Video Game\)| \(Video Games\)| (|- Fandom\(Movies\)|\(Movie [0-9]+\)| \(Comics\)| \(TV\))$=>
category=>(Half-Life: Decay|Hunt Down The Freeman|Half-Life 2|Half-Life Opposing Force|Half-Life: Alyx|Half Life|Game: Black Mesa \(Half-Life\))=>Half-Life
gives me:
Crossover, Half-Life, Half-Life - Fandom
The "Black Mesa (Half-Life)" bit got replaced as expected, but why didn't " - Fandom" get removed by the first line?