• 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
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...