Skip to content
Myr

Dot "." also matches newline by default (closes #111)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by J.W · committed by David Peter · parent c38ef0e · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:src/main.rs+1 added
133 unmodified lines
134 };135136 match RegexBuilder::new(pattern)137 .case_insensitive(!config.case_sensitive)138 .dot_matches_new_line(true)139 .build() {140 Ok(re) => walk::scan(root_dir, Arc::new(re), base, Arc::new(config)),141 Err(err) => error(err.description()),142 }
1 unmodified line