regex_constatns is defined in cybozu