]> Cypherpunks repositories - gostls13.git/commitdiff
regexp/syntax: update documentation for Parse.
authorDaniel Morsing <daniel.morsing@gmail.com>
Thu, 18 Jul 2013 19:28:00 +0000 (21:28 +0200)
committerDaniel Morsing <daniel.morsing@gmail.com>
Thu, 18 Jul 2013 19:28:00 +0000 (21:28 +0200)
Syntax description was moved to the top level comment of this package.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/11536043

src/pkg/regexp/syntax/parse.go

index 30e0e8b7fe42dac4d4d54201ac2f068f0e703e9a..42d0bf4a16f66c890c3cbefd08ec97c24900fa18 100644 (file)
@@ -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.