Skip to content
/ regen Public
forked from ezrosent/regen

Compile-time regular expression parsing for Go

License

Notifications You must be signed in to change notification settings

zchee/regen

 
 

Repository files navigation

regen

Compile-time regular expression parsing for go-lang.

regen generates a custom regular expression matching function for a given pattern. It can be used with go generate. This is currently a proof of concept: it does not support all of the common regular expression meta-characters and the matching implementation can be made much faster.

The current implementation is based on Regular Expression Matching: the Virtual Machine Approach by Russ Cox.

#TODOs

  • Implement character classes and wildcards.
  • Implement different backends (like the D-lang regex library in phobos)

About

Compile-time regular expression parsing for Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • Go 100.0%