SunBo

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年4月26日

摘要: #------------------------------------------------/joe/e ;: 设置光标到匹配"joe"的末尾 /joe/e+1 ;: 设置光标到匹配"joe"的末尾再后移一位 /joe/s-2 ;: 设置光标到匹配"joe“的开头再前移两位 /joe/+3 ;: 搜索“joe” 找到后将光标下移3行 /^joe.*fred.*bill/ ;: 匹配以'j'开头且"joe"到"fred"到"bill"之间至少有一个字符 /^[A-J 阅读全文
posted @ 2010-04-26 08:29 SunBo 阅读(372) 评论(0) 推荐(0) 编辑