|
| 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
|
| |
| N_STR * | npcre_replace (N_PCRE *pcre, const char *subject, size_t subject_len, const char *replacement) |
| | thread-safe regex substitute: replace every match in subject (binary-safe, subject_len bytes) using a replacement template with $N / ${N} capture-group references (pcre2_substitute, global).
|
| |
PCRE helpers for regex matching.
- Author
- Castagnier Mickael
- Version
- 2.0
- Date
- 04/12/2019
Definition in file n_pcre.h.