diff options
author | nibon7 | 2022-03-12 07:05:50 +0000 |
---|---|---|
committer | GitHub | 2022-03-12 07:05:50 +0000 |
commit | 43997f1936d337a1a4248c98bff360ff9b4a3afc (patch) | |
tree | f22a45467cfcb564564eabd3db1c5bb27cdc2d7d /helix-term/src/ui | |
parent | 61828ea519e27f7ae762917ad74d519b5fe511ac (diff) |
Use `^` and `$` to match the beginning and end of a line when searching (#1790)
Fixes #1737
Signed-off-by: nibon7 <nibon7@163.com>
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r-- | helix-term/src/ui/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs index 6299a473..2273477f 100644 --- a/helix-term/src/ui/mod.rs +++ b/helix-term/src/ui/mod.rs @@ -73,6 +73,7 @@ pub fn regex_prompt( match RegexBuilder::new(input) .case_insensitive(case_insensitive) + .multi_line(true) .build() { Ok(regex) => { |