Fixed handling of required input of `radio` type. Tiny fix in regex - it was not a bug (it worked before), but jshint kept nagging me about it ;).