Rob Pike
|
3355cadf3f
|
support []byte (more efficient) as well as string in the interfaces.
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-05 15:44:45 -07:00 |
|
Rob Pike
|
5a4d431dd1
|
special case: recognize '[^\n]' and make it as fast as '.'
R=rsc
DELTA=25 (23 added, 1 deleted, 1 changed)
OCL=32793
CL=32799
|
2009-08-05 14:40:34 -07:00 |
|
Steve Newman
|
a6c7a80b5b
|
Add a ReplaceAll method to Regexp.
APPROVED=r,rsc
DELTA=189 (187 added, 0 deleted, 2 changed)
OCL=30205
CL=30517
|
2009-06-18 17:55:47 -07:00 |
|
Rob Pike
|
d90e7cbac6
|
mv src/lib to src/pkg
tests: all.bash passes, gobuild still works, godoc still works.
R=rsc
OCL=30096
CL=30102
|
2009-06-09 09:53:44 -07:00 |
|