Add iter_options_const.
Store match objects into an hash table and reuse them in subsequent searches.