summaryrefslogtreecommitdiff
path: root/src/pkg/regexp/regexp.go
AgeCommit message (Collapse)AuthorFilesLines
2009-08-12convert non-low-level non-google pkg codeRuss Cox1-2/+0
to whole-package compilation. R=r OCL=33070 CL=33101
2009-08-09Add methods AllMatches, AllMatchesString, AllMatchesIter,Stephen Ma1-0/+119
AllMatchesStringIter, based on sawn and sawzall functions in sawzall. APPROVED=rsc DELTA=218 (218 added, 0 deleted, 0 changed) OCL=32408 CL=32949
2009-08-05support []byte (more efficient) as well as string in the interfaces.Rob Pike1-19/+122
change the names; Match is for []byte and MatchString is for string, etc. R=rsc DELTA=195 (155 added, 0 deleted, 40 changed) OCL=32800 CL=32800
2009-08-05special case: recognize '[^\n]' and make it as fast as '.'Rob Pike1-2/+22
R=rsc DELTA=25 (23 added, 1 deleted, 1 changed) OCL=32793 CL=32799
2009-06-29io.StringBytes -> strings.BytesRuss Cox1-1/+2
io.ByteBuffer -> bytes.Buffer left io.ByteBuffer stub around for now, for protocol compiler. R=r OCL=30861 CL=30872
2009-06-18Add a ReplaceAll method to Regexp.Steve Newman1-1/+66
APPROVED=r,rsc DELTA=189 (187 added, 0 deleted, 2 changed) OCL=30205 CL=30517
2009-06-09mv src/lib to src/pkgRob Pike1-0/+764
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102