Where each group of the match text[s .. e] is.
fill_slots :: (engine: *Engine, text: string, s: int, e: int, slots: [] int)