SCL functions for regular expression capturing groups