[llvm-bugs] [Bug 42864] New: [Filecheck] regex bound is broken after a bracket expression

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 1 12:53:22 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42864

            Bug ID: 42864
           Summary: [Filecheck] regex bound is broken after a bracket
                    expression
           Product: Test Suite
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: lit
          Assignee: unassignedbugs at nondot.org
          Reporter: yuanfang.chen at sony.com
                CC: daniel at zuster.org, llvm-bugs at lists.llvm.org

; RUN: FileCheck -check-prefix=A -input-file %s %s
; A: Build ID: [[UUID:[[:xdigit:]]{5}]]

; RUN: FileCheck -check-prefix=B -input-file %s %s
; B: Build ID: {{[[:xdigit:]]{5}}}

Build ID: 12345


...  error: invalid regex: braces not balanced
; B: Build ID: {{[[:xdigit:]]{5}}}


{{[[:xdigit:]]+}} works.

-- 
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/20190801/28d8af12/attachment.html>


More information about the llvm-bugs mailing list