Registry / utility / vectorscan

vectorscan

JSON →
library5.4.12vcpkgunverified

A portable fork of the high-performance regular expression matching library

vcpkg install vectorscan
INSTALL
IMPORT
SIG · VECTORSCAN
V
vectorscan
utilitycppv5.4.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hs/hs.h
#include <hs/hs.h>

Compile and use a regular expression pattern

#include <hs/hs.h> #include <cstdio> int main() { hs_database_t *db; hs_compile_error_t *compile_err; if (hs_compile("test", HS_FLAG_DOTALL, HS_MODE_BLOCK, NULL, &db, &compile_err) != HS_SUCCESS) { fprintf(stderr, "Compile error: %s\n", compile_err->message); hs_free_compile_error(compile_err); return 1; } hs_scratch_t *scratch; hs_alloc_scratch(db, &scratch); // Match against data... hs_free_scratch(scratch); hs_free_database(db); return 0; }
Debug
Known issues
gotchaNot compatible with original Hyperscan API on all platforms
fix
Check vectorscan documentation for platform-specific differences
affects: *
Upgrade
Version history
5.4.12latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources

No resource links recorded.

vectorscan — pip install vectorscan · libregistry