Skip to content

ripgrep misses a match but succeeds with -S and -i #781

@OliverUv

Description

@OliverUv

What version of ripgrep are you using?

ripgrep 0.7.1
-AVX -SIMD

What operating system are you using ripgrep on?

Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artful
> uname -srvpoi
Linux 4.13.0-31-generic #34-Ubuntu SMP Fri Jan 19 16:34:46 UTC 2018 x86_64 x86_64 GNU/Linux

If this is a bug, what are the steps to reproduce the behavior?

Download rgbug.tar.gz, unpack, enter the contained directory, then search for clone_created.

If this is a bug, what is the actual behavior?

https://gist.github.com/e1af638724793b341eee4f4f9e902afd

If this is a bug, what is the expected behavior?

Following the reproduction instructions will show a result from file one.ts, it should also show a result from two.ts. If used with the -i or -S flags, both results are shown as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions