# -*- coding: utf-8; mode: snippet -*-
# name: split s into a [using regex]
# key: patsplit
# contributor: Adriano Martinez <uberkael@gmail.com>
# --
patsplit(${1:string}, ${2:array}${3:, opt_regex, opt_seperators})