Quote:
Originally Posted by ownedbycats
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.
|
If the difference is which site it's on (assuming your AO3 example had tag "Mass Effect" as well), I'd be looking if you have something in your [fanfiction.net] section that affects it or overrides your settings.
BTW, when you start using negative and positive look aheads in the
same regexp you are beyond my regexp level--have fun with that black magic. I'd just split it into more than one line if it's causing problems.