diff options
author | Daniel Morsing <daniel.morsing@gmail.com> | 2013-07-18 21:28:00 +0200 |
---|---|---|
committer | Daniel Morsing <daniel.morsing@gmail.com> | 2013-07-18 21:28:00 +0200 |
commit | d73a900230c5740dc887c01392ae711ad4a27f09 (patch) | |
tree | 056f997e9adbdd71f9f47b377f24eb5b5a033e49 | |
parent | d8ca342f94c9808a2096f03d035505ebfbb80587 (diff) | |
download | go-d73a900230c5740dc887c01392ae711ad4a27f09.tar.gz |
regexp/syntax: update documentation for Parse.
Syntax description was moved to the top level comment of this package.
R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/11536043
-rw-r--r-- | src/pkg/regexp/syntax/parse.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/regexp/syntax/parse.go b/src/pkg/regexp/syntax/parse.go index 30e0e8b7f..42d0bf4a1 100644 --- a/src/pkg/regexp/syntax/parse.go +++ b/src/pkg/regexp/syntax/parse.go @@ -651,7 +651,7 @@ func literalRegexp(s string, flags Flags) *Regexp { // Parse parses a regular expression string s, controlled by the specified // Flags, and returns a regular expression parse tree. The syntax is -// described in the top-level comment for package regexp. +// described in the top-level comment. func Parse(s string, flags Flags) (*Regexp, error) { if flags&Literal != 0 { // Trivial parser for literal string. |