Hi Fletch,
thank you for your advice!
I checked it with \Q...\E and also with (?: ...) which omits the capturing of the expressions in the parens, but nothing appears to help.
I was wondering whether the tilde ~ produced trouble, but when quoted that should be the case.
Best, Horst