Re: [Boost-bugs] [Boost C++ Libraries] #8304: Regex not matching case in character ranges if collate flag specified

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8304: Regex not matching case in character ranges if collate flag specified
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-21 17:13:08


#8304: Regex not matching case in character ranges if collate flag specified
----------------------------------+-----------------------------------------
  Reporter: dave@… | 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 suspect the MS implementation ignores that flag completely (haven't
 looked though).

 Look at it this way, if you expect it to have no effect, why are you
 setting it? It's purpose as documented is in this case to match any
 character ''which collates between 'A' and 'Z' ''. The fact is that all
 of the characters in your test string ''will'' collate inside that range
 in most Win32 locales.

 In any event, as soon as you set that flag you get implementation,
 platform, and locale specific behavior. In short use with extreme
 caution!

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8304#comment:2>
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:12 UTC