regexec



Hi, I'm using the glibc regexec function with the following regex "Arb\\.|Tj\\.tid|Arbeta|pce dt|Tjä\\.|Tjänst *[^LO]".
The point of the last subexpression is to match Tjänst unless it is followed by an L or an O. It seems to be matching
even when it is followed by an L or O, what am I doing wrong?
.