Skip to content

Rewind regex, radical effort to unleash std.regex from std library constraints to make it great again

License

Notifications You must be signed in to change notification settings

DmitryOlshansky/rewind-regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REwind Regex

Build Status

REwind Regex is designed to be a simpler, more innovative alternative to std.regex library.

Unleashed from contraints of std.library REwind Regex aims to provide greater speeds and streaming capabilities, sacrificing complex features for more powerful use cases.

However most easy improvements that got battle tested in REwind Regex would eventually be backported.

In general - pick std.regex if:

  • need stability over performance
  • compile-time regex (if you have patience and RAM to afford it)
  • need backreferences
  • love helpers such as splitter, replaceFirst/replaceAll etc.

Try REwind Regex if your use case is:

  • grep-like tool or search engine
  • streaming with IOpipe library (related to previous point)
  • performance is more important then having e.g. backreference
  • hate useless cruft that you can easily implement yourself
  • 100% @nogc (in the future) once exceptions are tackled by the language

Technical details

TBD.

About

Rewind regex, radical effort to unleash std.regex from std library constraints to make it great again

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published