How to parse a string using boost::spirit excluding defined substrings?
For example, a string must not contain $lf, $pt, $kf
You may mean
*(qi::char_ - (qi::lit("$if") | qi::lit("$pt") | qi::lit("$kf"))