def split_regex(string, seperator_pattern):
    try:
        return re.split(seperator_pattern, string)
    except Exception, e:
        raise errors.AnsibleFilterError('split plugin error: %s' % str(e))
dataset/ETHPy150Open timraasveld/ansible-string-split-filter/split.py/split_regex/original