Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot match an empty line #9

Open
espindola opened this issue Oct 14, 2021 · 0 comments
Open

Cannot match an empty line #9

espindola opened this issue Oct 14, 2021 · 0 comments

Comments

@espindola
Copy link

espindola commented Oct 14, 2021

I am trying to use lit with a file format that uses empty line for delimiters, but it doesn't seem to be possible to match those. A reduced example is

# RUN: sh @file

# CHECK: line1
# CHECK: [[^$]]
# CHECK: line2

echo line1
echo
echo line2

With llvm's FileCheck it is possible to use {{^$}}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant