Boost logo

Boost Users :

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.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net