![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
PCRE helpers for regex matching. More...
Include dependency graph for n_pcre.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | N_PCRE |
| N_PCRE structure. More... | |
Macros | |
| #define | npcre_print_error(__LEVEL__, __rc__) |
| PCRE error logging function wrapper to get line and func. | |
| #define | PCRE2_CODE_UNIT_WIDTH 8 |
| #define | PCRE2_LIST_FREE_CAST(x) ((PCRE2_UCHAR8**)(void*)(x)) |
| #define | PCRE_ANCHORED PCRE2_ANCHORED |
| #define | PCRE_CASELESS PCRE2_CASELESS |
| #define | PCRE_DOTALL PCRE2_DOTALL |
| #define | PCRE_EXTENDED PCRE2_EXTENDED |
| #define | PCRE_MULTILINE PCRE2_MULTILINE |
| #define | PCRE_UCP PCRE2_UCP |
| #define | PCRE_UTF8 PCRE2_UTF |
Functions | |
| int | _npcre_print_error (int LOG_LEVEL, const char *file, const char *func, int line, int rc) |
| print error helper | |
| int | npcre_clean_match (N_PCRE *pcre) |
| clean match results from a previous npcre_match_capture | |
| int | npcre_delete (N_PCRE **pcre) |
| pcre helper, delete/free a compiled regexp | |
| int | npcre_match (char *str, N_PCRE *pcre) |
| thread-safe pcre match, only returns TRUE/FALSE, no captures stored | |
| int | npcre_match_capture (char *str, N_PCRE *pcre) |
| thread-safe pcre match with captures stored in pcre->match_list | |
| N_PCRE * | npcre_new (char *str, int flags) |
| pcre helper, compile and optimize regexp | |
| #define npcre_print_error | ( | __LEVEL__, | |
| __rc__ | |||
| ) |
| #define PCRE2_LIST_FREE_CAST | ( | x | ) | ((PCRE2_UCHAR8**)(void*)(x)) |