• Russ Cox's avatar
    regexp: hide one-pass code from exported API · 6c10e64a
    Russ Cox authored
    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
    6c10e64a
Name
Last commit
Last update
..
syntax Loading commit data...
testdata Loading commit data...
all_test.go Loading commit data...
example_test.go Loading commit data...
exec.go Loading commit data...
exec2_test.go Loading commit data...
exec_test.go Loading commit data...
find_test.go Loading commit data...
onepass.go Loading commit data...
onepass_test.go Loading commit data...
regexp.go Loading commit data...