summaryrefslogtreecommitdiff
path: root/src/lib/regexp/regexp.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-03-04 22:03:35 -0800
committerRob Pike <r@golang.org>2009-03-04 22:03:35 -0800
commitdf6ac3e2b7b2183b06b12f3d5c0eb51609778f87 (patch)
tree423b78863ad97d289541e2d6d5fd8f2f5682019e /src/lib/regexp/regexp.go
parent23fcc99fd6f829ca9fd445b7611ca8b8e6fc0faf (diff)
downloadgolang-df6ac3e2b7b2183b06b12f3d5c0eb51609778f87.tar.gz
delete bogus vestige
R=rsc OCL=25730 CL=25730
Diffstat (limited to 'src/lib/regexp/regexp.go')
-rw-r--r--src/lib/regexp/regexp.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/regexp/regexp.go b/src/lib/regexp/regexp.go
index fe3a21885..bfaa999f4 100644
--- a/src/lib/regexp/regexp.go
+++ b/src/lib/regexp/regexp.go
@@ -718,7 +718,6 @@ func (re *Regexp) doExecute(str string, pos int) []int {
// s[a[2*i]:a[2*i+1]] for i > 0 is the substring matched by the ith parenthesized subexpression.
// A negative value means the subexpression did not match any element of the string.
// An empty array means "no match".
-// (Regexp is an internal type that implements the Regexp interface.)
func (re *Regexp) Execute(s string) (a []int) {
return re.doExecute(s, 0)
}
@@ -726,7 +725,6 @@ func (re *Regexp) Execute(s string) (a []int) {
// Match returns whether the Regexp matches the string s.
// The return value is a boolean: true for match, false for no match.
-// (Regexp is an internal type that implements the Regexp interface.)
func (re *Regexp) Match(s string) bool {
return len(re.doExecute(s, 0)) > 0
}
@@ -737,7 +735,6 @@ func (re *Regexp) Match(s string) bool {
// a[0] is the substring matched by the entire expression.
// a[i] for i > 0 is the substring matched by the ith parenthesized subexpression.
// An empty array means ``no match''.
-// (Regexp is an internal type that implements the Regexp interface.)
func (re *Regexp) MatchStrings(s string) (a []string) {
r := re.doExecute(s, 0);
if r == nil {