go regexp with RE2 DFA matcher port - golang.org/cl/12081
Go C Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
internal
syntax
testdata
.gitignore
AUTHORS
CONTRIBUTORS
LICENSE
README.md
all_test.go
backtrack.go
example_test.go
exec.go
exec2_test.go
exec_test.go
export.sh
find_test.go
onepass.go
onepass_test.go
regexp.go

README.md

go regexp + RE2 DFA port

import "matloob.io/regexp"

See golang.org/cl/12081

  • The regexp tests pass. Though there may still be uncaught bugs. Let me know if you find any of them! No guarantees!
  • regexp/internal/dfa tests are currently failing. I need to fix some thingsn there.
  • I've got a small change to the DFA that uses package unsafe and makes matches 2x faster. I'll try to get it up soon.
  • A bunch of cleanup needs to be done all over this package.