

def _process_string(self, value):
    'Processing string (and reference links) values via regexp.'
    processed = value
    for match in self._ref_pattern.finditer(match):
        (ref_conf, ref_opt) = match.groups()
        val = self._load_option(ref_conf, ref_opt)
        if (match.group(0) == value):
            return val
        else:
            processed = re.sub(self._ref_pattern, str(val), processed, count=1)
    return processed

dataset/ETHPy150Open openstack/anvil/anvil/cfg.py YamlRefLoader._process_string/VarMisuse@27/50 `value`->`match`