grep 正则中,与 vim 的 \zs \ze 等效的是什么?
- 自由建客
- 帖子: 13468
- 注册时间: 2008-07-30 23:21
- 系统: Debian stable AMD64
- lilydjwg
- 论坛版主
- 帖子: 4258
- 注册时间: 2009-04-11 23:46
- 系统: Arch Linux
- 联系:
Re: grep 正则中,与 vim 的 \zs \ze 等效的是什么?
使用 -P 选项吧。
- 自由建客
- 帖子: 13468
- 注册时间: 2008-07-30 23:21
- 系统: Debian stable AMD64
Re: grep 正则中,与 vim 的 \zs \ze 等效的是什么?
perl 的,更不会用。lilydjwg 写了:使用 -P 选项吧。
算了,我还是用 sed 算了!