Mercurial > public > mercurial-scm > hg
diff help/patterns.txt @ 9624:585d2ffe969b
doc, help: stream-line use of inline-literals
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 20 Oct 2009 22:43:17 +0200 |
parents | cad36e496640 |
children |
line wrap: on
line diff
--- a/help/patterns.txt Tue Oct 20 22:16:27 2009 +0200 +++ b/help/patterns.txt Tue Oct 20 22:43:17 2009 +0200 @@ -7,17 +7,17 @@ Alternate pattern notations must be specified explicitly. To use a plain path name without any pattern matching, start it with -"path:". These path names must completely match starting at the +``path:``. These path names must completely match starting at the current repository root. -To use an extended glob, start a name with "glob:". Globs are rooted -at the current directory; a glob such as "``*.c``" will only match -files in the current directory ending with ".c". +To use an extended glob, start a name with ``glob:``. Globs are rooted +at the current directory; a glob such as ``*.c`` will only match files +in the current directory ending with ``.c``. -The supported glob syntax extensions are "``**``" to match any string -across path separators and "{a,b}" to mean "a or b". +The supported glob syntax extensions are ``**`` to match any string +across path separators and ``{a,b}`` to mean "a or b". -To use a Perl/Python regular expression, start a name with "re:". +To use a Perl/Python regular expression, start a name with ``re:``. Regexp pattern matching is anchored at the root of the repository. Plain examples::