Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7935: Exception if specify character range with certain code points (if collation used)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-01 13:33:21
#7935: Exception if specify character range with certain code points (if collation
used)
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: johnmaddock
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: regex
Version: Boost 1.51.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------+--------------------------------------------
Changes (by johnmaddock):
* status: new => closed
* resolution: => invalid
Comment:
I don't believe this is a bug - or at least not one that can be fixed.
When the collate flag is set, the behavior is determined entirely by the
underlying OS and what locale is in effect. If the underlying API's
believe that the character 0x10D0 collates before 0x80 then the library is
correct in saying that the range is invalid. In short the collate flag is
only useful where the endpoints of the range come from the same block of
characters in the current locate.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7935#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC