View Single Post
Old 08-01-2023, 01:10 PM   #8767
Ghostcat
Connoisseur
Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.
 
Posts: 61
Karma: 582370
Join Date: Apr 2023
Device: Kobo Clara 2E
I am trying to add a new item to a list. So that if I have a (ao3) ship of the form ['Hermione Granger/Harry Potter/Ginny Weasley'] I end up with ['Harry/Hermione.Ginny', 'Triad']

Code:
ships=>(.+) .+\/Harry Potter\/(.+) .+=>Harry/\1.\2
correctly results in ['Harry/Hermione.Ginny']. However, if I add \,Triad on the end (as specified on the "Replace Metadata" web page. I don't get the ship tag or the "Triad" tag.

IE
Code:
ships=>(.+) .+\/Harry Potter\/(.+) .+=>Harry/\1.\2\,Triad
results in the empty list.

I know I am missing something obvious but I blowed I can see what it is.
Ghostcat is offline   Reply With Quote