Commit 0ece323
Comprehensive delimiter for deleting last word. (#206)
Using the "s" regex metacharacter to better match whitespace characters.
Line feeds and carriage returns are currently not being considered, so deleteLastWord() can delete multiple words on multiple lines. E.g. on the first word of a subsequent paragraph.
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>1 parent 95bc2c4 commit 0ece323
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
0 commit comments