summaryrefslogtreecommitdiff
path: root/src/pkg/regexp/regexp.go
AgeCommit message (Expand)AuthorFilesLines
2010-06-22regexp: bug fix: need to track whether match begins with fixed prefix.Rob Pike1-16/+18
2010-06-02 Optimization to regexp _CharClass: keep track of overall range ofKyle Consalus1-6/+16
2010-04-26regexp: allow escaping of any punctuationRuss Cox1-4/+4
2010-03-31testing/regexp: use recover.Rob Pike1-3/+1
2010-03-31regexp: use panic/recover to handle errorsRob Pike1-72/+50
2010-03-26regexp: don't return non-nil *Regexp if there is an error.Rob Pike1-0/+3
2010-03-24delete all uses of panicln by rewriting them using panic or,Rob Pike1-1/+1
2010-03-16gofmt: more consistent formatting of const/var declsRobert Griesemer1-11/+11
2010-03-07regexp: add ReplaceAllFunc and ReplaceAllStringFuncAndrew Gerrand1-2/+18
2010-02-17The prefix optimization applies only to the first iteration.Rob Pike1-5/+13
2009-12-24Add query to find number of subexpressions.Peter Froehlich1-0/+3
2009-12-151) Change default gofmt default settings forRobert Griesemer1-446/+446
2009-11-24Change to container/vector interface:Robert Griesemer1-2/+2
2009-11-23fix bug in prefix code: must stop one character before any potential match of...Rob Pike1-3/+6
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox1-7/+7
2009-11-20fix buildRob Pike1-1/+0
2009-11-20slight simplification made possible by the code now processing match statesRob Pike1-4/+3
2009-11-19add a match arena to regexp to avoid generating garbage.Rob Pike1-46/+106
2009-11-19two easy optimizations for regexp:Rob Pike1-13/+78
2009-11-18remove bytes.CopyRob Pike1-15/+7
2009-11-14move evaluation of null-matching instructions one iteration earlier.Rob Pike1-31/+47
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer1-22/+22
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-71/+71
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-93/+31
2009-11-05gofmt'ed missing regexp fileRobert Griesemer1-137/+187
2009-11-05manual fix for better gofmt resultRobert Griesemer1-2/+1
2009-11-04panic can't print interfaces well so use err.String()Rob Pike1-1/+1
2009-11-02eliminate goroutine from testing/regexp too.Rob Pike1-2/+2
2009-11-02take goroutines out of regexp so they can be createdRob Pike1-53/+77
2009-09-17use buf.String() instead of string(buf.Bytes())Rob Pike1-1/+1
2009-09-16rename bytes.Buffer.Data() to bytes.Buffer.Bytes()Rob Pike1-2/+2
2009-09-15more "declared and not used".Russ Cox1-2/+2
2009-09-14fix "declared and not used" errors in non-test code.Russ Cox1-3/+3
2009-08-26generate the unicode tables directly from web databaseRob Pike1-1/+1
2009-08-12convert non-low-level non-google pkg codeRuss Cox1-2/+0
2009-08-09Add methods AllMatches, AllMatchesString, AllMatchesIter,Stephen Ma1-0/+119
2009-08-05support []byte (more efficient) as well as string in the interfaces.Rob Pike1-19/+122
2009-08-05special case: recognize '[^\n]' and make it as fast as '.'Rob Pike1-2/+22
2009-06-29io.StringBytes -> strings.BytesRuss Cox1-1/+2
2009-06-18Add a ReplaceAll method to Regexp.Steve Newman1-1/+66
2009-06-09mv src/lib to src/pkgRob Pike1-0/+764