add ``regexp_matches`` scalar function implementation