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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

; 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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to