mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-22 15:43:48 -07:00
Update to regex 0.2.
This commit is contained in:
@@ -473,7 +473,7 @@ impl<'a> ArgMatches<'a> {
|
||||
/// unchanged.
|
||||
fn literal_pattern(&self, pat: String) -> String {
|
||||
if self.is_present("fixed-strings") {
|
||||
regex::quote(&pat)
|
||||
regex::escape(&pat)
|
||||
} else {
|
||||
pat
|
||||
}
|
||||
|
Reference in New Issue
Block a user