📄 chxb.htm
字号:
<TD>
<P>Any single character.</P>
<TR>
<TD>
<P>[]</P>
<TD>
<P>Any one of the characters within the brackets (use - for a range, [af] for "except"). </P>
<TR>
<TD>
<P>\~</P>
<TD>
<P>Anything except the character that follows next.</P>
<TR>
<TD>
<P>*</P>
<TD>
<P>Zero or more of the next character.</P>
<TR>
<TD>
<P>+</P>
<TD>
<P>One or more of the next character.</P>
<TR>
<TD>
<P>\( \)</P>
<TD>
<P>Doesn't match specially, but saves part of the match string to be used in the replacement string. Up to nine portions can be tagged like this.</P>
<TR>
<TD>
<P>\{\!\}</P>
<TD>
<P>Either of the characters within the {}.</P>
<TR>
<TD>
<P>{\\}</P>
<TD>
<P>Just like [].</P>
<TR>
<TD>
<P>\:a</P>
<TD>
<P>A single letter or number.</P>
<TR>
<TD>
<P>\:b</P>
<TD>
<P>White space (tabs or spaces).</P>
<TR>
<TD>
<P>\:c</P>
<TD>
<P>A single letter.</P>
<TR>
<TD>
<P>\:d</P>
<TD>
<P>A single numerical digit.</P>
<TR>
<TD>
<P>\:n</P>
<TD>
<P>An unsigned number.</P>
<TR>
<TD>
<P>\:z</P>
<TD>
<P>An unsigned integer.</P>
<TR>
<TD>
<P>\:h</P>
<TD>
<P>A hexadecimal number.</P>
<TR>
<TD>
<P>\:i</P>
<TD>
<P>A string of characters that meets the rules for C++ identifiers (starts with a letter, number, or underscore).</P>
<TR>
<TD>
<P>\:w</P>
<TD>
<P>A string of letters only.</P>
<TR>
<TD>
<P>\:q</P>
<TD>
<P>A quoted string surrounded by double or single quotes.</P>
<TR>
<TD>
<P>\</P>
<TD>
<P>Removes the special meaning from the character that follows. </P></TABLE>
<P><A ID="I45" NAME="I45"><B>Edit Find in Files</B></A></P>
<P>This useful command searches for a word or phrase within a large number of files at once. In its simplest form, shown in Figure B.27, you enter a word or phrase into the Fi<U>n</U>d What edit box, restrict the search to certain types of files in the In
Files of <U>T</U>ype box, and choose the folder to conduct the search within in the In <U>F</U>older edit box. The following check boxes in the bottom half of the dialog box set the options for the search:</P>
<A HREF="FFfig27.gif" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/figs/chxb/FFfig27.gif"><b>Fig. B.27</b></A>
<P><I>The simplest Find in Files approach searches for a string within a folder and its subfolders.</I></P>
<ul>
<li> <I>Match </I><I><U>W</U></I><I>hole Word Only</I>. If this is checked, <font color="#008000">table</font> in the Find What box matches only <font color="#008000">table</font>, not <font color="#008000">suitable</font> or <font
color="#008000">tables</font>.</P>
<li> <I>Match </I><I><U>C</U></I><I>ase</I>. If this is checked, <font color="#008000">Chapter</font> in the Find What box matches only <font color="#008000">Chapter</font>, not <font color="#008000">chapter</font> or <font color="#008000">CHAPTER</font>.
Upper- and lowercase must match.</P>
<li> <I>Regular </I><I><U>E</U></I><I>xpression</I>. The Find What box is treated as a regular expression (see the following sidebar "Regular Expressions") if this box is checked.</P>
<li> <I>Look in </I><I><U>S</U></I><I>ubfolders</I>. Work through all the subfolders of the chosen folder if this is checked.</P>
<li> <I>O</I><I><U>u</U></I><I>tput to Pane 2</I>. Sends the results to the Find in Files 2 pane of the output window, so as not to wipe out the results of an earlier search.</P>
</ul>
<P><A ID="I46" NAME="I46"><B>Using Advanced Text Finding Features</B></A></P>
<P>At the bottom right of the Find in Files dialog box is the <U>A</U>dvanced button. Clicking it expands the dialog box shown in Figure B.28 and allows you to search several different folders at once.</P>
<A HREF="FFfig28.gif" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/figs/chxb/FFfig28.gif"><b>Fig. B.28</b></A>
<P><I>Advanced Find in Files searches for a string within several folders and their subfolders.</I></P>
<blockquote><p><img src="tip.gif" tppabs="http://www.mcp.com/814147200/0-7897/0-7897-1145-1/tip.gif">
<P>If you highlight a block of text before selecting Find in Files, that text is put into the Find What box for you. If no text
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -