summaryrefslogtreecommitdiff
path: root/src/cmd/godoc/snippet.go
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2010-02-25 09:15:52 -0800
committerKevin Ballard <kevin@sb.org>2010-02-25 09:15:52 -0800
commitb36f5ea9726368ea38ae00f88e61710321c9f49f (patch)
tree2a56368451a0215c21fdb70d72555488add483bf /src/cmd/godoc/snippet.go
parentb5c34b76a8f0b7f161b38ba7c1161659c9d6a805 (diff)
downloadgolang-b36f5ea9726368ea38ae00f88e61710321c9f49f.tar.gz
path: Fix bug in Match with non-greedy stars
path.Match() errors out when testing "*x" against "xxx" because it matches the star non-greedily. Ensure that the last chunk consumes the rest of the name. R=r, rsc CC=golang-dev http://codereview.appspot.com/223050 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/godoc/snippet.go')
0 files changed, 0 insertions, 0 deletions