@staticmethod
    def build_name_re(names):
        pattern = u"|".join(names)
        return re.compile(pattern, flags=(re.UNICODE | re.LOCALE))
Build regular expression for scenario selection by name
dataset/ETHPy150Open behave/behave/behave/configuration.py/Configuration.build_name_re