postgresql regex always finds sub-strings so we have to prepend "^(" and append ")$"