
20 Jun
2005
20 Jun
'05
4:32 p.m.
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.