View Single Post
Old 11-03-2023, 08:12 PM   #85
shinykari
Member
shinykari doesn't littershinykari doesn't litter
 
Posts: 21
Karma: 128
Join Date: Jan 2020
Device: Kobo Libre2
I am trying to use "replace_metadata" to standardize fandom tags, and have come across an annoyance. Older fic is often tagged "Hockey RPF," but a few years ago, AO3 changed the official name of the fandom to "Men's Hockey RPF," which is what I prefer to use in my library. I have the following in my FFF personal.ini:

Code:
replace_metadata:
 category,genre=>Hockey RPF=>Men's Hockey RPF
This works great for the older fics, but since the new fics also have "Hockey RPF" as part of their tag, it changes them to "Men's Men's Hockey RPF."

Is there a way to only match the full tag, so that the shorter tag is changed but the longer (already correct) tag stays the same?
shinykari is offline   Reply With Quote