What about the extract_keys() function — I see regex iterators there.