]> Cypherpunks repositories - gostls13.git/commit
regexp: change Expr() to String(); add HasOperator method to Regexp.
authorRob Pike <r@golang.org>
Fri, 17 Dec 2010 18:23:46 +0000 (10:23 -0800)
committerRob Pike <r@golang.org>
Fri, 17 Dec 2010 18:23:46 +0000 (10:23 -0800)
commita9e7c9381e56e30e1fa2cfa577ab9bc7c01b5790
tree677f755914d38e640984668cdd31fe6ae71078d8
parent8ec6f7cd11ff9f376ef42a062295cd315ebc29af
regexp: change Expr() to String(); add HasOperator method to Regexp.
It reports whether a regular expression has operators
as opposed to matching literal text.

R=rsc, gri
CC=golang-dev
https://golang.org/cl/3731041
src/pkg/regexp/all_test.go
src/pkg/regexp/find_test.go
src/pkg/regexp/regexp.go