mirror of
https://github.com/sharkdp/fd
synced 2024-11-05 16:58:21 +00:00
Dot "." also matches newline by default (closes #111)
This commit is contained in:
parent
c38ef0e9b2
commit
f2632d5fce
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue