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

Multi-line patterns #129

Closed
cbsirb opened this issue May 2, 2017 · 1 comment
Closed

Multi-line patterns #129

cbsirb opened this issue May 2, 2017 · 1 comment

Comments

@cbsirb
Copy link

cbsirb commented May 2, 2017

dumb-jump will fail for anything else except ag in this case:

int main(
    int argc,
    char **argv
    )
{
    return 0;
}

Apparently rg and git grep doesn't support multi-line patterns, and gnu grep supports them with -E -z -o arguments only.

You should mention that in the README, so others won't spend time debugging this 😄

@jacktasia
Copy link
Owner

Thanks for the report. I agree this should be mentioned somewhere.

netromdk pushed a commit to netromdk/dumb-jump that referenced this issue Dec 2, 2017
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

2 participants