|
| 1 | +.. Copyright (c) 2019--2025 EditorConfig Team |
1 | 2 | All rights reserved. |
2 | 3 |
|
3 | 4 | Redistribution and use in source and binary forms, with or without |
@@ -183,13 +184,8 @@ special characters for wildcard matching: |
183 | 184 | If the glob contains a path separator (a ``/`` not inside square brackets), then the glob is relative |
184 | 185 | to the directory level of the particular `.editorconfig` file itself. |
185 | 186 | Otherwise the pattern may also match at any level below the `.editorconfig` |
186 | | -level. |
187 | | - |
188 | | -Therefore, a leading slash is not relevant if there is already a slash in the middle of the pattern. |
189 | | -Thus, the globs `/subdir/*.c` and `subdir/*.c` must yield the same result. |
190 | | - |
191 | | -For example, ``*.c`` matches any file that ends with ``.c`` in the |
192 | | -directory of ``.editorconfig`` or any other directory below one that stores this ``.editorconfig``. |
| 187 | +level. For example, ``*.c`` matches any file that ends with ``.c`` in the |
| 188 | +directory of ``.editorconfig`` or any other directory below one that stores this ``.editorconfig``. |
193 | 189 | However, the glob ``subdir/*.c`` only matches files that end |
194 | 190 | with ``.c`` in the ``subdir`` directory in the directory of ``.editorconfig``. |
195 | 191 |
|
@@ -424,7 +420,4 @@ this specification. |
424 | 420 | .. _plugin-tests repository: https://github.com/editorconfig/editorconfig-plugin-tests |
425 | 421 | .. _Semantic Versioning 2.0.0: https://semver.org/spec/v2.0.0.html |
426 | 422 | .. _specification repository: https://github.com/editorconfig/specification |
427 | | -<<<<<<< HEAD |
428 | | -.. _gitignore format: https://git-scm.com/docs/gitignore#_pattern_format |
429 | | -======= |
430 | | ->>>>>>> 4c747a0 (Code review clean-up) |
| 423 | + |
0 commit comments