def check_hl_group_name(hl_group, context_mark, context, echoerr):
 return _highlight_group_spec.match(hl_group, context_mark=context_mark, context=context, echoerr=echoerr)[1]

def check_hl_group_name ( hl_group , context_mark , context , echoerr ) : return _highlight_group_spec . match ( hl_group , context_mark = context_mark , context = context , echoerr = echoerr ) [ 1 ]
check highlight group name: it should match naming conventions .