def setAttribute(args, traverser, wrapper):

    if not args:
        return

    first_as_str = utils.get_as_str(args[0].get_literal_value(traverser))
    if first_as_str.lower().startswith("on"):
        warn(traverser.err,
             filename=traverser.filename,
             line=traverser.line,
             column=traverser.position,
             context=traverser.context,
             violation_type="setAttribute-on")
Build a range regex for a set of characters in utf8.
dataset/ETHPy150Open mozilla/app-validator/appvalidator/testcases/javascript/instanceactions.py/setAttribute--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/validation/parameter_types.py/_build_regex_range