jdkato / regexp

go regexp with RE2 DFA matcher port - golang.org/cl/12081

Home Page:https://matloob.io/regexp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

go regexp with RE2 DFA matcher port - golang.org/cl/12081

https://matloob.io/regexp

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 99.1%Language:Perl 0.8%Language:Shell 0.1%