Performs a regular expression match and return the first found match
input string
slice to the first found match or null if no match
if an error occurs when running the regex search
In: the regex must have been compiled
See Implementation
Performs a regular expression match and return the first found match