add regular expression pattern support for radiogroups