Opened 6 years ago
Closed 6 years ago
#12857 closed Bugs (worksforme)
boost::wregex failed for case insensitive expression
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Boost 1.62.0 | Component: | regex |
Version: | Boost 1.61.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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
Attachments (1)
Change History (2)
by , 6 years ago
Attachment: | boost_regex_test.cpp added |
---|
comment:1 by , 6 years ago
Milestone: | To Be Determined → Boost 1.62.0 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
This was fixed in boost-1.62.
Note:
See TracTickets
for help on using tickets.
Testing code