id summary reporter owner description type status milestone component version severity resolution keywords cc 12857 boost::wregex failed for case insensitive expression Borivoj Kostka John Maddock "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 " Bugs closed Boost 1.62.0 regex Boost 1.61.0 Problem worksforme