• Rob Pike's avatar
    regexp: fix prefix bug. · 15cb7ed3
    Rob Pike authored
    After a prefix match, the old code advanced the length of the
    prefix.  This is incorrect since the full match might begin
    in the middle of the prefix. (Consider "aaaab+" matching
    "aaaaaab").
    
    Fixes #1373
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/3795044
    15cb7ed3
Name
Last commit
Last update
..
Makefile Loading commit data...
all_test.go Loading commit data...
find_test.go Loading commit data...
regexp.go Loading commit data...