From cb62b52a3023b9849f3406dd3ef880658311fb4d Mon Sep 17 00:00:00 2001 From: Adam Piggott Date: Wed, 30 Mar 2016 11:15:54 +0000 Subject: [PATCH] Windows does not support escaping (ref #2822) --- users/ignoring.rst | 4 ++++ 1 file changed, 4 insertions(+) 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 -------