Subject: [Boost-users] [spirit] how to write parser for matching character not in list ?
From: Kamil Zubair (kamilzubair_at_[hidden])
Date: 2011-02-23 03:24:26


Let's say I want to match a string and that string cannot contain character ; and @. How to write parser for that ?

I try using:
 *(!(';"'|'@'))
and
*(char_ - ';'|'@')
but both are failed to compile.

Thanks.