def grain_pcre(tgt, delimiter=DEFAULT_TARGET_DELIM):
    matcher = salt.minion.Matcher({'grains': __grains__}, __salt__)
    try:
        return matcher.grain_pcre_match(tgt, delimiter=delimiter)
    except Exception as exc:
        log.exception(exc)
        return False
Complete NIPAP prefix type
dataset/ETHPy150Open saltstack/salt/salt/modules/match.py/grain_pcre--crossover with--dataset/ETHPy150Open SpriteLink/NIPAP/nipap-cli/nipap_cli/nipap_cli.py/complete_prefix_type