mirror of
https://github.com/sharkdp/fd.git
synced 2024-10-31 19:41:01 +01:00
Dot "." also matches newline by default (closes #111)
This commit is contained in:
parent
c38ef0e9b2
commit
f2632d5fce
@ -135,6 +135,7 @@ fn main() {
|
||||
|
||||
match RegexBuilder::new(pattern)
|
||||
.case_insensitive(!config.case_sensitive)
|
||||
.dot_matches_new_line(true)
|
||||
.build() {
|
||||
Ok(re) => walk::scan(root_dir, Arc::new(re), base, Arc::new(config)),
|
||||
Err(err) => error(err.description()),
|
||||
|
Loading…
Reference in New Issue
Block a user