A biased barometer for gauging the relative speed of some regex engines on a curated set of tasks.
by BurntSushiPython
Last 12 weeks · 1 commit
3 of 6 standards met
It seems like pcre2posix.h plays double duty as both a source file within the pcre2 project and also as an interface header included in system header distributions of pcre2. It looks like the vendored copy of pcre2 is missing this file, which causes it to fail to compile on systems where the compiler doesn't have a system-installed copy of pcre2 and its api headers. When I ran the build on my system, pcre2posix.c failed to find pcre2posix.h, because the build runs through msvc because I'm on windows, and I only have pcre2 installed as a system-accessible library inside of msys2. Copy pasting pcre2posix.h from the msys2 distributions of pcre2 into the vendored copy of pcre2 seemed to fix it and let it build, but this is a hack and probably wrong because it'll go out of sync eventually as pcre2 changes.
Repository: BurntSushi/rebar. Description: A biased barometer for gauging the relative speed of some regex engines on a curated set of tasks. Stars: 320, Forks: 31. Primary language: Python. Languages: Python (85.3%), C (11.4%), C++ (2%), Rust (1.1%), Java (0%). License: Unlicense. Open PRs: 10, open issues: 4. Last activity: 2mo ago. Community health: 57%. Top contributors: BurntSushi, stephentoub, Mai-Lapyst, Marwes, michaelficarra, pombredanne.