The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Wrappers around various regular expression libraries. More...
Go to the source code of this file.
Functions | |
int | fr_regex_cmp_op (fr_token_t op, fr_value_box_t const *a, fr_value_box_t const *b) |
Compare two boxes using an operator. More... | |
Wrappers around various regular expression libraries.
Definition in file regex.c.
int fr_regex_cmp_op | ( | fr_token_t | op, |
fr_value_box_t const * | a, | ||
fr_value_box_t const * | b | ||
) |
Compare two boxes using an operator.
However, this involves allocating intermediate sbuffs for the unescaped RHS, and all kinds of extra work. It's not overly hard, but it's something we wish to avoid for now.
[in] | op | to use in comparison. MUST be T_OP_REG_EQ or T_OP_REG_NE |
[in] | a | Value to compare, MUST be FR_TYPE_STRING |
[in] | b | uncompiled regex as FR_TYPE_STRING |
Definition at line 1360 of file regex.c.