Skip to content

Something is wrong with the greediness in one example #89

Open
@stanislaw

Description

@stanislaw

See 10-edge-case-llvm-vs-py-ghost-newline-in-llvm:

; RUN: echo -e "String1" | (%FILECHECK_EXEC %S/CHECK.check 2>&1; test $? = 1;) | %FILECHECK_EXEC %s --strict-whitespace --match-full-lines
; CHECK:{{^.*}}FileCheck{{(\.py)?$}}
// TODO: Something wrong with the greediness here:
; CHECK***:{{^.*}}CHECK.check:2:8: error: CHECK***: expected string not found in input
; CHECK:{{^.*}}
// TODO: And here:
; CHECK:{{.*}}String2
; CHECK:       ^
; CHECK:<stdin>:1:8: note: scanning from here
; CHECK:String1
; CHECK:       ^
; CHECK-EMPTY:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingclear actionit is clear what has to be done or checked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions