2020-02-11 09:34:17 +00:00
|
|
|
#include <oniguruma.h>
|
|
|
|
|
|
|
|
extern int NewOnigRegex( char *pattern, int pattern_length, int option,
|
2020-05-29 06:20:01 +00:00
|
|
|
OnigRegex *regex, OnigEncoding *encoding, OnigErrorInfo **error_info, char **error_buffer);
|
2020-02-11 09:34:17 +00:00
|
|
|
|
|
|
|
extern int SearchOnigRegex( void *str, int str_length, int offset, int option,
|
2020-05-29 06:20:01 +00:00
|
|
|
OnigRegex regex, OnigErrorInfo *error_info, char *error_buffer, int *captures, int *numCaptures);
|
2020-02-11 09:34:17 +00:00
|
|
|
|
|
|
|
extern int MatchOnigRegex( void *str, int str_length, int offset, int option,
|
2020-05-29 06:20:01 +00:00
|
|
|
OnigRegex regex);
|
2020-02-11 09:34:17 +00:00
|
|
|
|
2020-05-29 06:20:01 +00:00
|
|
|
extern int LookupOnigCaptureByName(char *name, int name_length, OnigRegex regex);
|
2020-02-11 09:34:17 +00:00
|
|
|
|
|
|
|
extern int GetCaptureNames(OnigRegex regex, void *buffer, int bufferSize, int* groupNumbers);
|