def _eq(self, value1, value2):
        if isinstance(value1, re._pattern_type):
            return bool(value1.match(value2))
        return value1 == value2
return the JS friendly role name for user
dataset/ETHPy150Open beetbox/beets/beets/autotag/hooks.py/Distance._eq--crossover with--dataset/ETHPy150Open buildingenergy/buildingenergy-platform/seed/views/accounts.py/_get_js_role