With this regex, IIRC, you may match things like `and )` (operator ending with a character followed by a closing parenthesis), no ? I don't think this is really what you intended to match ?