xf_re_compile - 2023.2 English

Vitis Libraries

Release Date
2023.2 English
#include "xf_data_analytics/text/xf_re_compile.h"
int xf_re_compile (
    const char* pattern,
    unsigned int* bitset,
    uint64_t* instructions,
    unsigned int* instr_num,
    unsigned int* cclass_num,
    unsigned int* cpgp_nm,
    uint8_t* cpgp_name_val,
    uint32_t* cpgp_name_oft

Software compiler for pre-compiling input regular expression.


pattern Input regular expression.
bitset Bit set map for each character class.
instructions Compiled instruction list derived from input pattern.
instr_num Number of instructions.
cclass_num Number of character classes.
cpgp_nm Number of capturing groups.
cpgp_name_val Buffer of every name of each capturing group.
cpgp_name_oft Starting offset addresses for the name of each capturing group.