Skip to content

Commit 9500377

Browse files
authored
docs: clarify what brace expansion syntax is and isn't supported (#134)
1 parent 2661f23 commit 9500377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ See the [Bash Reference Manual](https://www.gnu.org/software/bash/manual/html_no
590590
591591
### Braces
592592
593-
Picomatch does not do brace expansion. For [brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html) and advanced matching with braces, use [micromatch](https://github.com/micromatch/micromatch) instead. Picomatch has very basic support for braces.
593+
Picomatch only does [brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html) of comma-delimited lists (e.g. `a/{b,c}/d`). For advanced matching with braces, use [micromatch](https://github.com/micromatch/micromatch), which supports advanced syntax such as ranges (e.g. `{01..03}`) and increments (e.g. `{2..10..2}`).
594594
595595
### Matching special characters as literals
596596

0 commit comments

Comments
 (0)