Timeline for Search and replace: Replace substring of match (with substitute(...))
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 20, 2018 at 18:35 | vote | accept | TheKaltur | ||
Nov 20, 2018 at 16:20 | answer | added | Rich | timeline score: 3 | |
Nov 20, 2018 at 16:03 | comment | added | TheKaltur |
I tried this too but then it replaces [i][j] with [][
|
|
Nov 20, 2018 at 15:58 | comment | added | Hotschke |
I did not try it. But one thing I noticed immediately is that you cannot use so called sub-replace-specials ie. \1 after \= . This should be submatch(1) . This is mentioned under :h sub-replace-expression .
|
|
Nov 20, 2018 at 15:44 | history | edited | TheKaltur | CC BY-SA 4.0 |
added 3 characters in body
|
Nov 20, 2018 at 15:40 | history | edited | statox | CC BY-SA 4.0 |
added 30 characters in body; edited tags
|
Nov 20, 2018 at 15:35 | review | First posts | |||
Nov 20, 2018 at 15:40 | |||||
Nov 20, 2018 at 15:33 | history | asked | TheKaltur | CC BY-SA 4.0 |