[Boost-bugs] [Boost C++ Libraries] #7935: Exception if specify character range with certain code points (if collation used)

Subject: [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-01-28 10:54:09


#7935: Exception if specify character range with certain code points (if collation
used)
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.51.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 If you try and compile the regex:
 {{{
 [\x{0080}-\x{10C6}]
 }}}

 the regex code will throw an exception if boost::regex::collate is
 specified. However, the expressions:
 {{{
 [\x{0080}-\x{10C5}]
 }}}
 or
 {{{
 [\x{0080}-\x{10D0}]
 }}}

 are just fine. I think the issue is related to 0x10C6 not being an
 assigned Unicode code point but I could be wrong.


 Sample code:

 {{{
 boost::wregex regexText( L"[\\x{0080}-\\x{10C6}]", boost::regex::collate
 );

 }}}

 O/S: Win 7 (x64), Compiler: VS 2010 (SP1)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7935>
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