Boost logo

Boost :

From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2002-10-22 12:30:35


Peter Dimov wrote:

> > After what your code looks like:
> >
> > nonctl_char = urange_p( '\x21', '\xFF' );
>
> The question is, would you ever want ['\x21', '\xFF'] to
> _not_ be a valid
> range?

If this is what you want, you could write 'epsilon_p - urange_p( '\x21',
'\xFF' )', essentially this means 'match everything (epsilon_p) except
('-') the given range :-)

Regards Hartmut


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk