Possibility to get error message when matching fails 

Now we just need to figure out how to get error when using ``match($value, $pattern)`` global funciton.
First I can think of is ``get_last_matching_error()`` function that returns ``null|string``