1
0
mirror of synced 2026-01-07 18:01:41 -05:00

Follow-up to: managing-a-branch-protection-rule.md rules need clarification (#48766)

Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
This commit is contained in:
Sophie
2024-01-19 16:23:11 +01:00
committed by GitHub
parent d786881fa2
commit 8dafcf97d0

View File

@@ -1,5 +1,9 @@
{% note %}
**Note:** Although {% data variables.product.prodname_dotcom %} supports `File::FNM_PATHNAME` in `fnmatch` syntax, `File::FNM_EXTGLOB` is not supported.
**Note:** Not all expressions from the `fnmatch` syntax are supported in branch protection rules. Please be aware of the following constraints:
- You cannot use the backslash (`\`) character as a quoting character, as {% data variables.product.prodname_dotcom %} does not support the use of backslashes in branch protection rules.
- You can specify character sets within square brackets (`[]`), but you cannot currently complement a set with the `^` operator (e.g., `[^charset]`).
- Although {% data variables.product.prodname_dotcom %} supports `File::FNM_PATHNAME` in `fnmatch` syntax, `File::FNM_EXTGLOB` is not supported.
{% endnote %}