mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-13 05:42:59 +00:00
Use multi-line regex for '\s' (#19241)
This commit is contained in:
parent
5445f898e8
commit
b682fc6d1d
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ impl SearchQuery {
|
|||
query = word_query
|
||||
}
|
||||
|
||||
let multiline = query.contains('\n') || query.contains("\\n");
|
||||
let multiline = query.contains('\n') || query.contains("\\n") || query.contains("\\s");
|
||||
let regex = RegexBuilder::new(&query)
|
||||
.case_insensitive(!case_sensitive)
|
||||
.multi_line(multiline)
|
||||
|
|
Loading…
Reference in a new issue