diff options
author | Kevin Ballard <kevin@sb.org> | 2010-02-25 09:15:52 -0800 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2010-02-25 09:15:52 -0800 |
commit | b36f5ea9726368ea38ae00f88e61710321c9f49f (patch) | |
tree | 2a56368451a0215c21fdb70d72555488add483bf /src/cmd/godoc/snippet.go | |
parent | b5c34b76a8f0b7f161b38ba7c1161659c9d6a805 (diff) | |
download | golang-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