View Single Post
Old 03-14-2021, 03:56 AM   #5651
ackomb
Zealot
ackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura about
 
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
Quote:
Originally Posted by ownedbycats View Post
Any idea why this replace_metadata would fail to remove " (Fandom)"? Regex101 indicates that the pattern matches.
Code:
## Character standardization and dedepublication
## Removing some fandoms first
 characters=>\s(\(Elder Scrolls\)|\(Fallout\)|\(Mass Effect\)|\(Skyrim\))$=>
This works but leaves behind an extraneous space:

Code:
 characters=>\(Elder Scrolls\)|\(Fallout\)|\(Mass Effect\)|\(Skyrim\)$=>
Here's a fic for testing.


Hey for a non native English speaker (and I don't often run into words I don't know the exact meaning of), what exactly do you mean with "extraneous space" it kinda translates into weird space but when I try this in my test library I see nothing weird coming up. Which could mean I have some setting you don't or the cause lies elsewhere.
Attached Thumbnails
Click image for larger version

Name:	Knipsel.PNG
Views:	101
Size:	14.6 KB
ID:	185934  
ackomb is offline   Reply With Quote