Timeline for Delete n lines after pattern and m lines before pattern
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 7, 2018 at 16:26 | history | edited | Rakesh Sharma | CC BY-SA 4.0 | added 393 characters in body; added 66 characters in body |
| Oct 7, 2018 at 15:30 | comment | added | Porcupine | I have updated the question, please look at the bottom. | |
| Oct 7, 2018 at 12:52 | comment | added | Rakesh Sharma | So in that scenario what's the output you expect. Fill that in the main body of this question. | |
| Oct 7, 2018 at 12:09 | comment | added | Porcupine | Thanks for the explanation, can we make this code more versatile, such that it also works when either m or n are 0? | |
| Oct 7, 2018 at 11:32 | history | edited | Rakesh Sharma | CC BY-SA 4.0 | added 772 characters in body |
| Oct 7, 2018 at 9:15 | comment | added | Porcupine | Hi! Thanks it works. Could you please explain line 3, 4 and 5? I understand that /$re/ is pattern. What regex does this support? | |
| Oct 7, 2018 at 9:04 | vote | accept | Porcupine | ||
| Oct 7, 2018 at 9:05 | |||||
| Oct 6, 2018 at 14:56 | history | answered | Rakesh Sharma | CC BY-SA 4.0 |