Opened 10 years ago

Last modified 10 years ago

#6 new enhancement

iterator for regexp matching

Reported by: vadim.godunko Owned by: somebody
Priority: major Milestone:
Component: Matreshka - League Version:
Keywords: Cc:

Description (last modified by vadim.godunko)

It would be nice to have iterator for regexp matching like this:

gour: то есть ещё какой-нть итератор, что ли, смастерить...

M := Start_Search (RegExp);
loop
  Find_Next (M);
  exit when Not_Found (M);
  -- делаем что-то с M
end loop;
-- грохаем M за ненужностью

Change History (1)

comment:1 by vadim.godunko, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.