nitely / nim-regex

Pure Nim regex engine. Guarantees linear time matching
https://nitely.github.io/nim-regex/
MIT License
225 stars 20 forks source link

A question about the operation of Re #132

Closed Sznymo closed 8 months ago

Sznymo commented 8 months ago

I have a question if i understand correctly re2 (compiles with the program), re (runs dynamically and you can load data while the program is running) in the documentation re is described as obsolete, is there a way to load a file from re2 while the program is running ?

nitely commented 8 months ago

re2 can compile a regex at runtime and compile time. The rest of APIs taking Regex2 as parameter can be used at both compile time and runtime too.

nitely commented 8 months ago

Closing. If you need help with this post a little code snippet and I may be able to help. You can always re-open.

Sznymo commented 8 months ago

Thank you for your reply :) Will try to rewrite from re to re2 myself. Sorry for writing back so slowly