So this is pretty simple:
I have an event that test if a text matches a regex, so far it does nothing but telling me whether it does and it works prefectly, the text matches as intended.
Then, because I plan to reuse the same Regex several times in the code, I decide instead to put it into a variable and call the variable.
And as simple as this, it doesn't work anymore ?!
The code is quasi-literally limited to this event, so I beside double-checking the spelling, I really have no idea where to look for a mistake. :/
Update:
It has to do with the fact I'm using " within the regex.
Usually you can include a " within a string by typing it "", that's what I did with the event and it works there. Then I just copy-pasted the regex into the variable. The variable does work if I shorten my regex to a bit without "", but as soon as I bring it back it stops working.