📄 l37.2e
字号:
#printHere is something a bit trickier. We want to addan extra space after each word "lengthen". However,some of the instances of "lengthen" are followedby commas or right parentheses and we want the spaceafter the comma or right parenthesis in that case. Thatis, the desired transformations are: now newlengthen xx lengthen xxlengthen, xx lengthen, xxlengthen) xx lengthen) xxlengthen), xx lengthen), xxIt should only take one substitute command to do this.Remember that "*" matches zero or more instances ofwhatever precedes it.Try those changes on the first six lines of the file"text" in this directory. Then rewrite the file andtype "ready".#create RefTo lengthen this is easy,whereas to lengthen, ratherthan to shorten, on the previous lineis hard. (To lengthen) is aninfinitive. I said to him, (please lengthen), andhe did so.Why not lengthen this word? Notice it is on line 7.#create textTo lengthen this is easy,whereas to lengthen, ratherthan to shorten, on the previous lineis hard. (To lengthen) is aninfinitive. I said to him, (please lengthen), andhe did so.Why not lengthen this word? Notice it is on line 7.#user#cmp text Ref#log#next37.2f 5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -