add ``regexp_matches`` scalar function implementation

this is checked and converted now a few lines above, see fixup commit