I have this regex, it matches a certain word if a list of word are not found:
(?<![Yy]ellow |[Bb]lue |[Rr]ed |[Pp]urple |[Bb]lack )[Cc]olor
It works, but I get the Regex Expression Error: "look-behind requires fixed-width pattern".
I do not have access to the python code.
I tried delimiting by (?:^
and |$)
as I saw in a similar question but it didn't work.
I also found this answer that I think solves the problem but I don't understand how to make it work in my case.
Test HERE
Dark Color #match
light color #match
Blue Color
red color
that is a blue color and theme
opaque color #match
purple color