regexp: fix prefix bug.
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
Showing
Please
register
or
sign in
to comment