$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: joel de guzman (isis-tech_at_[hidden])
Date: 2001-05-30 06:16:20
Hi,
I posted the initial release of Spirit with iterators as
proposed here. The Kleene star (*, zero or more)
and the positive operator (+, one or more) remain
as is. In addition, the new iterator syntax generalizes
repetitions. We have:
a.Repeat(8); // repeat a 8 times
a.Repeat(8, 20); // repeat a 8 to 20 times
a.Repeat(8, more); // repeat a 8 or more times
And shorthands:
a(8); // repeat a 8 times
a(8, 20); // repeat a 8 to 20 times
a(8, more); // repeat a 8 or more times
The documentation will be updated to reflect this additions.
Rule<> toDo = (code >> document)(1, more);
as usual: http://isis-tech.n3.net/
Cheers,
Joel de Guzman