View Single Post
Old 06-23-2020, 11:36 AM   #4239
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,436
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: Any suggestions why this regex in particular would return a blank result on fics tagged "Mass Effect" only on Fanfiction.net? It tested fine and works fine on AO3 so I can't figure out where I made a mistake.

Code:
 category=>(^(?=.*Mass Effect)(?!.*Mass Effect Trilogy).*|Mass Effect - All Media Types)=>Mass Effect Trilogy
I also tried swapping it out for (^(?=.*Mass.Effect) in case there was something going on with a non-standard space, but it also returned blank.



EDIT: I commented out the rest of my replace_metadatas and it replaced fine. I'm trying to identify which one it is messing it up now.

EDIT: And I uncommented each of them and....now it works? I don't understand!

Last edited by ownedbycats; 06-23-2020 at 11:50 AM.
ownedbycats is offline   Reply With Quote