[Boost-bugs] [Boost C++ Libraries] #12857: boost::wregex failed for case insensitive expression

Subject: [Boost-bugs] [Boost C++ Libraries] #12857: boost::wregex failed for case insensitive expression
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-02-20 10:58:30


#12857: boost::wregex failed for case insensitive expression
---------------------------------------+-------------------------
 Reporter: Borivoj Kostka <kostka@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: |
---------------------------------------+-------------------------
 Expression

 .*\.(?i:(doc|docx))

 matching

 a.doc
 a.DOC
 a.docx
 a.DOCX

 doesn't match a.DOCX but matches all other strings.

 If I change the order to

 .*\.(?i:(docx|doc))

 all strings are matched.

 Tested with Visual Studio 2012 and gcc 5.3

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12857>
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-20 11:02:26 UTC