mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-07-25 17:21:57 -07:00
regex: bump regex dep to fix match bug
See *661bf53d5b
*edf45e6f5f
for details on the bug fix, which was in the regex engine. Fixes #1203
This commit is contained in:
@@ -694,3 +694,14 @@ rgtest!(r1176_line_regex, |dir: Dir, mut cmd: TestCommand| {
|
||||
cmd.arg("-x").arg("-f").arg("patterns").arg("test").stdout()
|
||||
);
|
||||
});
|
||||
|
||||
// See: https://github.com/BurntSushi/ripgrep/issues/1203
|
||||
rgtest!(r1203_reverse_suffix_literal, |dir: Dir, _: TestCommand| {
|
||||
dir.create("test", "153.230000\n");
|
||||
|
||||
let mut cmd = dir.command();
|
||||
eqnice!("153.230000\n", cmd.arg(r"\d\d\d00").arg("test").stdout());
|
||||
|
||||
let mut cmd = dir.command();
|
||||
eqnice!("153.230000\n", cmd.arg(r"\d\d\d000").arg("test").stdout());
|
||||
});
|
||||
|
Reference in New Issue
Block a user