-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing dotall matching replacement separator
- Loading branch information
Showing
4 changed files
with
127 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
tests/screenshots/tests-base-test_search.lua---can-search-with-replace-string,-with-dotall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--|---------|---------|---------|---------|---------|---------|---------|---------| | ||
01| Actions / Help <g?> Replace <,r> Sync All <,s> ... | ||
02| | ||
03| Search: | ||
04| grug(.*) | ||
05| Replace: | ||
06| curly$1 | ||
07| Files Filter: | ||
08| | ||
09| Flags: | ||
10| | ||
11| Paths: | ||
12| | ||
13| | ||
14| STATUS_SUCCESS ⟪ ripgrep ⟫ | ||
15| 3 matches in 2 files | ||
16| | ||
17| file1 | ||
18|▒ 1:2: grug walks [1] | ||
19|▒ 1:2: curly walks [2] | ||
20| | ||
21| file2 | ||
22|▒ 2:7: grug talks and grug drinks [3] | ||
23|Grug FAR - 1: grug(.*) 2,9 Top | ||
24|-- INSERT -- | ||
|
||
--|---------|---------|---------|---------|---------|---------|---------|---------| | ||
01|00111111111111111111111222111111111111112221111111111111112222222222222222222222 | ||
02|00222222222222222222222222222222222222222222222222222222222222222222222222222222 | ||
03|33333333332222222222222222222222222222222222222222222222222222222222222222222222 | ||
04|00222242242222222222222222222222222222222222222222222222222222222222222222222222 | ||
05|33333333333222222222222222222222222222222222222222222222222222222222222222222222 | ||
06|00222222222222222222222222222222222222222222222222222222222222222222222222222222 | ||
07|33333333333333332222222222222222222222222222222222222222222222222222222222222222 | ||
08|00222222222222222222222222222222222222222222222222222222222222222222222222222222 | ||
09|33333333322222222222222222222222222222222222222222222222222222222222222222222222 | ||
10|00222222222222222222222222222222222222222222222222222222222222222222222222222222 | ||
11|33333333322222222222222222222222222222222222222222222222222222222222222222222222 | ||
12|00222222222222222222222222222222222222222222222222222222222222222222222222222222 | ||
13|22222222222222222222222222222222222222222222222222222222222222222222222222222222 | ||
14|55555555555555555555555555555555555555555555555555555555555555555555555555555555 | ||
15|55555555555555555555552222222222222222222222222222222222222222222222222222222222 | ||
16|00222222222222222222222222222222222222222222222222222222222222222222222222222222 | ||
17|00666662222222222222222222222222222222222222222222222222222222222222222222222222 | ||
18|77828227777777777722222222222222222222222222222222222222222222222222222222223333 | ||
19|11828221111111111112222222222222222222222222222222222222222222222222222222223333 | ||
20|00222222222222222222222222222222222222222222222222222222222222222222222222222222 | ||
21|00666662222222222222222222222222222222222222222222222222222222222222222222222222 | ||
22|77828222222277777777777777777777777777222222222222222222222222222222222222223333 | ||
23|99999999999999999999999999999999999999999999999999999999999999999999999999999999 | ||
24|111111111111:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: |
37 changes: 37 additions & 0 deletions
37
.../screenshots/tests-base-test_search.lua---can-search-with-replace-string,-with-dotall-002
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--| | ||
01| | ||
02|grug(.*) | ||
03|curly$1 | ||
04| | ||
05| | ||
06| | ||
07| | ||
08|file1 | ||
09|1:2: grug walks | ||
10|1:2: curly walks | ||
11| | ||
12|file2 | ||
13|2:7: grug talks and grug drinks | ||
14|2:7: curly talks and grug drinks | ||
15|3:12: then grug thinks | ||
16|3:12: then curly thinks | ||
17| | ||
|
||
--|- | ||
01| | ||
02| | ||
03| | ||
04| | ||
05| | ||
06| | ||
07| | ||
08| | ||
09| | ||
10| | ||
11| | ||
12| | ||
13| | ||
14| | ||
15| | ||
16| | ||
17| |