I want my regex to match the appearance of a certain word, except if it is followed by another specific word.
More specifically, I would like it to match "union" (in the sense of union or loyalty to a group, so it would not include words like "reunion", i.e. with word boundaries at the beginning and end of the string) in all cases, except when the string says "union europea" (which is understood as an administration and does not appeal to a group in the same way).
Using the pattern union\b does not help, because it would also match the aforementioned sentence.