Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-06-20 11:32:41


>> A more interesting case is what should happen when doing a
>> case-insentitive match on a range such as [Z-a]. It should match z, Z,
>> a, A and the symbols [, \, ], ^, _, and `. This is not what happens with
>> Boost.Regex (it throws an exception from the regex constructor).
>
> Not meaning to be facetious, but why in heavens name would anyone want
> to use a character class like [E-f] or [Z-a]? Seriously, does anyone
> write regexps like this?

That probably explains why no one has reported this as a bug before now.

Eric, I'm going to have to think about this and come back to you,

John.


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