1
0
mirror of https://github.com/golang/go synced 2024-10-05 11:31:22 -06:00
go/src/pkg/regexp
Russ Cox 6c10e64a90 regexp: hide one-pass code from exported API
Update #8112

Hide one-pass regexp API.

This means moving the code from regexp/syntax to regexp,
but it avoids being locked into the specific API chosen for
the implementation.

It also removes a slice field from the syntax.Inst, which
should avoid bloating the memory footprint of a non-one-pass
regexp unnecessarily.

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews, iant
https://golang.org/cl/98610046
2014-05-28 14:08:44 -04:00
..
syntax regexp: hide one-pass code from exported API 2014-05-28 14:08:44 -04:00
testdata regexp: move to old/regexp, replace with exp/regexp 2011-09-26 18:33:13 -04:00
all_test.go regexp/syntax: don't waste time checking for one pass algorithm 2014-05-13 12:17:49 -07:00
example_test.go all: add missing copyright 2013-12-17 06:52:32 -08:00
exec2_test.go regexp: exclude exhaustive RE2 test from running under race detector. 2013-07-19 23:44:22 +10:00
exec_test.go regexp: fix a benchmark case 2013-08-29 13:55:30 -07:00
exec.go regexp: hide one-pass code from exported API 2014-05-28 14:08:44 -04:00
find_test.go regexp: move to old/regexp, replace with exp/regexp 2011-09-26 18:33:13 -04:00
onepass_test.go regexp: hide one-pass code from exported API 2014-05-28 14:08:44 -04:00
onepass.go regexp: hide one-pass code from exported API 2014-05-28 14:08:44 -04:00
regexp.go regexp: hide one-pass code from exported API 2014-05-28 14:08:44 -04:00