CONTRIB-4146 CS: Fix regexp when char is reserved