以下是测试搜索功能的材料:
在第5行
zfG
将第5行折叠到文件末尾。 (请参阅
附件1)
当我输入?case
时,我可以获得attachment2
现在,让我添加一行,第一行只包含一个单词case
,折叠行6直到文件结尾。当我输入?case
时,我只能获得第1行,无法搜索第7行?
如何在折叠线上搜索?
以下是要测试的原材料:
Note the use of ( ) with the pipe symbol to specify the 'or' condition
/[0-9]*/MATches if there are zero or more numbers in the line
/^[^#]/ Matches if the first character is not a # in the line
Notes:
1. Regular expressions are case sensitive
2. Regular expressions are to be used where pattern is specifiedYou can jump back to beginning of file by typing any one of the following command