add ``regexp_matches`` scalar function implementation

could imho lead to NPEs if info() is called and it hasn't been set.