I am running this in MariaDB 10.0.26 on PCRE 8.39.
Say, i want to exclude Printer,Cartridge,Toner Sets,Kits, or Bundles.
So I wrote this:
(?<items>Printer|Cartridge|Toner)(?<sets>Kit|Bundle|Set)(?(?=\g<items>)(?!\g<sets>))
The named groups shouldn't much matter, i was just trying everything.
Simply saying, I want this expression:
titleField regexp '(?<items>Printer|Cartridge|Toner)(?<sets>Kit|Bundle|Set)(?(?=\g<items>)(?!\g<sets>))' to return 0 and not 1.
I am at this point lost what i am doing wrong, even though this must be something FACEPALM(!~~!) worthy. Please help.