View Single Post
Old 06-21-2025, 06:41 PM   #10917
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: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Makes sense.

Question: Having trouble with this story. Tagscategory won't turn into Movies & Television, even split onto its own line. Just this 1 category, others work.

Code:
# tagscategory is a copy category for Fanfiction.category in tags
include_in_tagscategory:category
include_subject_tags: tagscategory

replace_metadata: 

 category=> \([0-9]+\)| \(Video Game\)| \(Video Games\)|([ ]*- Fandom)|([ ]*- All Media Types)| \(Movies\)|(|- Fandom\(Movies\)|\(Movie [0-9]+\)| \(Comics\)| \(TV\))$=>

 tagscategory=>All Dogs Go To Heaven=>Movies & Television
All Dogs Go To Heaven
All Dogs Go to Heaven

Try (?:i)All Dogs Go To Heaven

Some tips:
Use copy/paste when exact text match is needed.
Use 'find' text function in editor to check if new text matches exactly.
It's a lot easier to visual diff two strings when they're lined up vertically.
JimmXinu is offline   Reply With Quote