EBNF rule for XML comment tag is:
Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'
How to get Boost Spirit Qi rule for it?
using boost::spirit::qi::ascii::char_;
using boost::spirit::qi::lit;
comment = lit("<!--") >> *((~char_('-') >> char_) | (char_('-') >> ~char_('-'))) >> lit("-->");
This is my the best try, but not correct...