View Single Post
Old 05-09-2018, 02:11 PM   #2725
edeniz
Zealot
edeniz began at the beginning.
 
Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
Quote:
Originally Posted by JimmXinu View Post
@edeniz -

When you are checking the value of rawgenre, you are looking at the entire string:
"Black Hermione Granger, Gen, I'm offended that's a tag OF COURSE he's smart, Indian Harry Potter, Lucius Malfoy is a bad person but a good father, M/M, Parselmouth Harry Potter, Plotty, Secret Relationship, Slow Build, Slytherins and Gryffindors being reluctant friends, Smart Draco Malfoy, Soulmate AU, but this fic isn't out to hurt you, canon? i don't know her, sometimes bad things happen, suprising lack of focus on soulmates for a soulmate au"

The only way ^Slytherins and Gryffindors being reluctant friends$ should have worked in past is if that was the only thing in Additional Tags at the time.

The substitution clause (before &&) operates on each element of the list. The conditional clause (after the &&) operates on the entire string. That may be the cause of confusion.

kindly! That explains it and clears things up for me!
edeniz is offline   Reply With Quote