Skip to content

Commit

Permalink
Merge pull request #138 from Wilfred/master
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor authored Jan 31, 2024
2 parents 4172399 + 1a1e019 commit f5d1140
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,10 +524,14 @@ impl fmt::Display for PatternError {
///
/// - `*` matches any (possibly empty) sequence of characters.
///
/// - `**` matches the current directory and arbitrary subdirectories. This
/// sequence **must** form a single path component, so both `**a` and `b**`
/// are invalid and will result in an error. A sequence of more than two
/// consecutive `*` characters is also invalid.
/// - `**` matches the current directory and arbitrary
/// subdirectories. To match files in arbitrary subdiretories, use
/// `**/*`.
///
/// This sequence **must** form a single path component, so both
/// `**a` and `b**` are invalid and will result in an error. A
/// sequence of more than two consecutive `*` characters is also
/// invalid.
///
/// - `[...]` matches any character inside the brackets. Character sequences
/// can also specify ranges of characters, as ordered by Unicode, so e.g.
Expand Down

0 comments on commit f5d1140

Please sign in to comment.