Performs a regular expression match and returns an array of slices of all matches
input string
found matches will be stored here
Array with slices of all matches
if an error occurs when running the regex search
In: the regex must have been compiled
See Implementation
Performs a regular expression match and returns an array of slices of all matches