Skip to content

Commit

Permalink
Clarify that a section name ending with / does not match any file
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhdev committed Sep 16, 2024
1 parent 47c7bea commit 2c4c675
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ level. For example, ``*.c`` matches any file that ends with ``.c`` in the
directory of ``.editorconfig``, but ``subdir/*.c`` only matches files that end
with ``.c`` in the ``subdir`` directory in the directory of ``.editorconfig``.

As a corollary, a section name ending with ``/`` does not match any file.

The backslash character (``\\``) can be used to escape a character so it is
not interpreted as a special character.

Expand Down

0 comments on commit 2c4c675

Please sign in to comment.