diff --git a/users/ignoring.rst b/users/ignoring.rst index b22f186b8..144cb3105 100644 --- a/users/ignoring.rst +++ b/users/ignoring.rst @@ -41,6 +41,8 @@ The ``.stignore`` file contains a list of file or path patterns. The - Question mark matches a single character that is not the directory separator. ``te??st`` matches ``tebest`` but not ``teb/st`` or ``test``. + +- Characters enclosed in square brackets ``[]`` are interpreted as a character range ``[a-z]``. Before using this syntax you should have a basic understanding of regular expression character classes. - A pattern beginning with ``/`` matches in the current directory only. ``/foo`` matches ``foo`` but not ``subdir/foo``. @@ -69,6 +71,8 @@ The ``.stignore`` file contains a list of file or path patterns. The - A line beginning with ``//`` is a comment and has no effect. +- Windows does not support escaping ``\[foo - bar\]``. + Example -------