[LLVMbugs] [Bug 22651] New: regex match_not_eol doesn't work correctly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 20 14:09:01 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22651

            Bug ID: 22651
           Summary: regex match_not_eol doesn't work correctly
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jvp4846 at g.rit.edu
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

Created attachment 13920
  --> http://llvm.org/bugs/attachment.cgi?id=13920&action=edit
Sample program

The attached sample tests a simple case with
std::regex_constants::match_not_eol. It succeeds using libstdc++, but fails
with libc++ (I tried with r229968, current SVN HEAD at the time of this
writing).

It seems that match_not_eol isn't correctly telling the regex engine that "$"
shouldn't match the end of the string.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150220/1a6a957a/attachment.html>


More information about the llvm-bugs mailing list