]> Cypherpunks repositories - gostls13.git/commit
allow godoc to match on regular expressions.
authorRob Pike <r@golang.org>
Wed, 22 Apr 2009 05:46:19 +0000 (22:46 -0700)
committerRob Pike <r@golang.org>
Wed, 22 Apr 2009 05:46:19 +0000 (22:46 -0700)
commit9d70646fcf09df481e81514ae241e383efae3a77
tree8f2c2e191d17c2846db871d340872c9fa4dfda99
parent4b62e8d7efae91424acb23abba957d8065e85e33
allow godoc to match on regular expressions.
if the name contains a metacharacter, use regexp matching;
otherwise require strict equality.

now
godoc flag '.*Var'
can give you all the FooVar functions.

R=gri
DELTA=19  (19 added, 0 deleted, 0 changed)
OCL=27711
CL=27713
usr/gri/pretty/docprinter.go