# HG changeset patch # User Benoit Boissinot # Date 1244596820 -7200 # Node ID 012be286b2c40be23256b4b1f2e6a0458c4ea2cd # Parent face0d0540e62909662e45552fa4ce483681f498 doc: correctly escape * diff -r face0d0540e6 -r 012be286b2c4 doc/hgignore.5.txt --- a/doc/hgignore.5.txt Wed Jun 10 03:10:46 2009 +0200 +++ b/doc/hgignore.5.txt Wed Jun 10 03:20:20 2009 +0200 @@ -32,8 +32,8 @@ ------ An ignore file is a plain text file consisting of a list of patterns, -with one pattern per line. Empty lines are skipped. The "#" character -is treated as a comment character, and the "\" character is treated as +with one pattern per line. Empty lines are skipped. The "``#``" character +is treated as a comment character, and the "``\``" character is treated as an escape character. Mercurial supports several pattern syntaxes. The default syntax used @@ -54,9 +54,9 @@ follow, until another syntax is selected. Neither glob nor regexp patterns are rooted. A glob-syntax pattern of -the form "*.c" will match a file ending in ".c" in any directory, and -a regexp pattern of the form "\.c$" will do the same. To root a regexp -pattern, start it with "^". +the form "``*.c``" will match a file ending in "``.c``" in any directory, and +a regexp pattern of the form "``\.c$``" will do the same. To root a regexp +pattern, start it with "``^``". EXAMPLE -------