Regen
regular expression, generator
Install / Use
/learn @sinya8282/RegenREADME
Regen is Regular Expression Generator, Compiler, Engine.
for High-speed regular expression matching, Regen gnerates native code from regular expression (require Xbyak). also Regen makes matching as parallel (require boost::thread).
- install
move to source directory % cd src
and build Regen % make all or build Regen with no JIT-ver % make REGEN_ENABLE_JIT=no or no Parallelization. % make REGEN_ENABLE_PARALLEL=no or enable neither. % make REGEN_ENABLE_JIT=no REGEN_ENABLE_PARALLEL=no
-
test and behcnmarks % make test % make benchmark or try manually % make test.o && ./test.o -t THREAD_NUM {-O olevel} % make bench.o && ./bench.o {-O olevel}
-
caluculate number of NFA/DFA/SSFA's states. % make state_num % ./state_num [-m -n -d -s] (REGEX | -f REGEX_FILE) minimization option: DFA minimization(-m). target option: NFA(-n), DFA(-d), SSFA(-s)
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
