
1 Dec
2010
1 Dec
'10
4:14 p.m.
2010/12/1, Kamil Zubair
Yes, I'm targeting V2. Actually I try to make parser that match string that doesn't contain several characters. Is this the right way to do it :
+(~(char_(':')|'*'|'?'))
I think you need: +(~qi::char_(":*?"))
Is there any mention in spirit documentation that mention char parser must use operator~() instead of operator !()? I don't see any operator ~() in parser operators section in doc, what it is mean anyway ?
refer to http://www.boost.org/doc/libs/1_45_0/libs/spirit/doc/html/spirit/qi/referenc... it says: "Negate cp. The result is a negated char parser that matches any character in the ns encoding except the characters matched by cp. " ~operator is char parser specific, not present in operators reference, however.