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.
oniguruma.h
✓ #include <oniguruma.h>
Compile and use a regular expression with Oniguruma.
#include <oniguruma.h>
int main() {
OnigRegex regex;
OnigErrorInfo error;
int r = onig_new(®ex, (const OnigUChar*)"\\d+", (const OnigUChar*)"\\d+" + 3,
ONIG_OPTION_DEFAULT, ONIG_ENCODING_UTF8, ONIG_SYNTAX_DEFAULT, &error);
if (r == ONIG_NORMAL) {
// Use regex
onig_free(regex);
}
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.