Hello golang-dev@googlegroups.com, I'd like you to review this change to http://code.google.com/p/go
LGTM On Tue, Aug 6, 2013 at 1:25 AM, <chaishushan@gmail.com> wrote: > Reviewers: golang-dev1, > > Message: > Hello golang-dev@googlegroups.com, > > I'd like you to review this change to > http://code.google.com/p/go > > > Description: > misc/notepadplus: simplify Function List regex > > Please review this at https://codereview.appspot.**com/12508043/<https://codereview.appspot.com/125... > > Affected files: > M misc/notepadplus/functionList.**xml > > > Index: misc/notepadplus/functionList.**xml > ==============================**==============================**======= > --- a/misc/notepadplus/**functionList.xml > +++ b/misc/notepadplus/**functionList.xml > @@ -7,21 +7,16 @@ > <!-- <parsers> --> > <parser id="go" displayName="Go" > commentExpr="((/\*.*?\*)/|(//.***?$))"> > <function > - mainExpr="(^func\s+[\w]+)|(^** > func\s*\(\s*[\w]+\s+\*?\s*[\w]**+\s*\)\s*[\w]+)" > + mainExpr="(^func\s+\w+)|(^** > func\s*\(\s*\w+\s*\*?\s*\w+\s***\)\s*\w+)" > displayMode="$className->$** > functionName"> > <functionName> > - <nameExpr > expr="(((func)[\s][\w]+)|(\(\**s*[\w]+\s+\*?\s*[\w]+\s*\)\s*[**\w]+))"/> > - <nameExpr > expr="(((func)[\s][\w]+)|(\)\**s*[\w]+))"/> > - <nameExpr > expr="(([\s][\w]+)|(\)\s*[\w]+**))"/> > - <nameExpr expr="[\w]+"/> > + <nameExpr > expr="((func\s+\w+)|(\)\s*\w+)**)"/> > + <nameExpr > expr="((\s+\w+)|(\)\s*\w+))"/> > + <nameExpr expr="\w+"/> > </functionName> > <className> > - <nameExpr > expr="\(\s*[\w]+\s+\*?\s*[\w]+**\s*\)\s*[\w]+"/> > - <nameExpr > expr="\(\s*[\w]+\s+\*?\s*[\w]+**\s*\)"/> > - <nameExpr > expr="[\w]+\s+\*?\s*[\w]+\s*\)**"/> > - <nameExpr > expr="\*?\s*[\w]+\s*\)"/> > - <nameExpr > expr="[\w]+\s*\)"/> > - <nameExpr expr="[\w]+"/> > + <nameExpr expr="\w+\s*\)"/> > + <nameExpr expr="\w+"/> > </className> > </function> > </parser> > > > -- > > ---You received this message because you are subscribed to the Google > Groups "golang-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-dev+unsubscribe@**googlegroups.com<golang-dev%2Bunsubscribe@googlegrou... > . > For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/o... > . > > >
*** Submitted as https://code.google.com/p/go/source/detail?r=1169c3ec0059 *** misc/notepadplus: simplify Function List regex R=golang-dev, bradfitz CC=golang-dev https://codereview.appspot.com/12508043 Committer: Brad Fitzpatrick <bradfitz@golang.org>