hgbook

diff en/filenames.tex @ 261:a24b370a16ee

Fix escaping.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun Jun 17 11:21:32 2007 -0700 (2007-06-17)
parents 7f07aca44938
children f8a2fe77908d
line diff
     1.1 --- a/en/filenames.tex	Mon Mar 26 21:58:24 2007 -0700
     1.2 +++ b/en/filenames.tex	Sun Jun 17 11:21:32 2007 -0700
     1.3 @@ -152,15 +152,6 @@
     1.4  token.  This small example illustrates the difference between the two.
     1.5  \interaction{filenames.glob.star-starstar}
     1.6  
     1.7 -When you're writing a glob pattern, bear in mind that Mercurial will
     1.8 -treat a pattern that matches a directory name as ``match every file
     1.9 -under that directory''.  For example, a glob pattern of
    1.10 -``\texttt{**c}'' means \emph{both} ``match files ending in
    1.11 -`\texttt{c}''' ``any file under all directories that end in
    1.12 -`\texttt{c}'''.  I personally find this behaviour counterintuitive.
    1.13 -If you need to write a pattern that means ``match \emph{only} files'',
    1.14 -you'll need to express it as a regular expression instead; see below.
    1.15 -
    1.16  \subsection{Regular expression matching with \texttt{re} patterns}
    1.17  
    1.18  Mercurial accepts the same regular expression syntax as the Python