6 Nov
2004
6 Nov
'04
7:27 p.m.
Thankyou! I just noticed the quick reference page, it has been very helpful.
On Sat, 06 Nov 2004 11:13:05 -0500, Jeffrey Holle
Of "course". That is what the optional operator is for. Something like: *alpha_p << !(ch_p('-') << *digit_p)
Cory Nelson wrote:
I'm trying to write a parser with elements that might not occur - is this possible?
like:
string ['-' number]
that matches "foo" or "foo-123"
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Cory Nelson http://www.int64.org