mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-07-11 14:30:24 +02:00
Fix debug expression statement.
This commit is contained in:
@ -184,8 +184,9 @@ impl GrepBuilder {
|
|||||||
.unicode(true)
|
.unicode(true)
|
||||||
.case_insensitive(self.opts.case_insensitive)
|
.case_insensitive(self.opts.case_insensitive)
|
||||||
.parse(&self.pattern));
|
.parse(&self.pattern));
|
||||||
|
let expr = try!(nonl::remove(expr, self.opts.line_terminator));
|
||||||
debug!("regex ast:\n{:#?}", expr);
|
debug!("regex ast:\n{:#?}", expr);
|
||||||
Ok(try!(nonl::remove(expr, self.opts.line_terminator)))
|
Ok(expr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user