Skip to content

Commit

Permalink
expand: fix broken links
Browse files Browse the repository at this point in the history
Those APIs ended up in the pattern package.

Fixes #1122.
  • Loading branch information
mvdan committed Jan 17, 2025
1 parent 5e4be79 commit 5b5fff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expand/expand.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ func Document(cfg *Config, word *syntax.Word) (string, error) {

const patMode = pattern.Filenames | pattern.Braces

// Pattern expands a single shell word as a pattern, using [syntax.QuotePattern]
// Pattern expands a single shell word as a pattern, using [pattern.QuoteMeta]
// on any non-quoted parts of the input word. The result can be used on
// [syntax.TranslatePattern] directly.
// [pattern.Regexp] directly.
//
// The config specifies shell expansion options; nil behaves the same as an
// empty config.
Expand Down

0 comments on commit 5b5fff6

Please sign in to comment.