/[pcre]/code/trunk/doc/html/pcregrep.html
ViewVC logotype

Diff of /code/trunk/doc/html/pcregrep.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 344 by ph10, Mon Dec 17 14:46:11 2007 UTC revision 345 by ph10, Mon Apr 28 15:10:02 2008 UTC
# Line 195  that matched. Line 195  that matched.
195  <P>  <P>
196  <b>--exclude</b>=<i>pattern</i>  <b>--exclude</b>=<i>pattern</i>
197  When <b>pcregrep</b> is searching the files in a directory as a consequence of  When <b>pcregrep</b> is searching the files in a directory as a consequence of
198  the <b>-r</b> (recursive search) option, any files whose names match the pattern  the <b>-r</b> (recursive search) option, any regular files whose names match the
199  are excluded. The pattern is a PCRE regular expression. If a file name matches  pattern are excluded. Subdirectories are not excluded by this option; they are
200  both <b>--include</b> and <b>--exclude</b>, it is excluded. There is no short  searched recursively, subject to the <b>--exclude_dir</b> and
201  form for this option.  <b>--include_dir</b> options. The pattern is a PCRE regular expression, and is
202    matched against the final component of the file name (not the entire path). If
203    a file name matches both <b>--include</b> and <b>--exclude</b>, it is excluded.
204    There is no short form for this option.
205    </P>
206    <P>
207    <b>--exclude_dir</b>=<i>pattern</i>
208    When <b>pcregrep</b> is searching the contents of a directory as a consequence
209    of the <b>-r</b> (recursive search) option, any subdirectories whose names match
210    the pattern are excluded. (Note that the \fP--exclude\fP option does not affect
211    subdirectories.) The pattern is a PCRE regular expression, and is matched
212    against the final component of the name (not the entire path). If a
213    subdirectory name matches both <b>--include_dir</b> and <b>--exclude_dir</b>, it
214    is excluded. There is no short form for this option.
215  </P>  </P>
216  <P>  <P>
217  <b>-F</b>, <b>--fixed-strings</b>  <b>-F</b>, <b>--fixed-strings</b>
# Line 258  Ignore upper/lower case distinctions dur Line 271  Ignore upper/lower case distinctions dur
271  <P>  <P>
272  <b>--include</b>=<i>pattern</i>  <b>--include</b>=<i>pattern</i>
273  When <b>pcregrep</b> is searching the files in a directory as a consequence of  When <b>pcregrep</b> is searching the files in a directory as a consequence of
274  the <b>-r</b> (recursive search) option, only those files whose names match the  the <b>-r</b> (recursive search) option, only those regular files whose names
275  pattern are included. The pattern is a PCRE regular expression. If a file name  match the pattern are included. Subdirectories are always included and searched
276  matches both <b>--include</b> and <b>--exclude</b>, it is excluded. There is no  recursively, subject to the \fP--include_dir\fP and <b>--exclude_dir</b>
277  short form for this option.  options. The pattern is a PCRE regular expression, and is matched against the
278    final component of the file name (not the entire path). If a file name matches
279    both <b>--include</b> and <b>--exclude</b>, it is excluded. There is no short
280    form for this option.
281    </P>
282    <P>
283    <b>--include_dir</b>=<i>pattern</i>
284    When <b>pcregrep</b> is searching the contents of a directory as a consequence
285    of the <b>-r</b> (recursive search) option, only those subdirectories whose
286    names match the pattern are included. (Note that the <b>--include</b> option
287    does not affect subdirectories.) The pattern is a PCRE regular expression, and
288    is matched against the final component of the name (not the entire path). If a
289    subdirectory name matches both <b>--include_dir</b> and <b>--exclude_dir</b>, it
290    is excluded. There is no short form for this option.
291  </P>  </P>
292  <P>  <P>
293  <b>-L</b>, <b>--files-without-match</b>  <b>-L</b>, <b>--files-without-match</b>
# Line 481  Cambridge CB2 3QH, England. Line 507  Cambridge CB2 3QH, England.
507  </P>  </P>
508  <br><a name="SEC13" href="#TOC1">REVISION</a><br>  <br><a name="SEC13" href="#TOC1">REVISION</a><br>
509  <P>  <P>
510  Last updated: 17 December 2007  Last updated: 08 March 2008
511  <br>  <br>
512  Copyright &copy; 1997-2007 University of Cambridge.  Copyright &copy; 1997-2008 University of Cambridge.
513  <br>  <br>
514  <p>  <p>
515  Return to the <a href="index.html">PCRE index page</a>.  Return to the <a href="index.html">PCRE index page</a>.

Legend:
Removed from v.344  
changed lines
  Added in v.345

  ViewVC Help
Powered by ViewVC 1.1.5