regex.c File Reference

#include <config.h>
#include <isc/file.h>
#include <isc/regex.h>
#include <isc/string.h>

Go to the source code of this file.

Defines

#define FAIL(x)   goto error

Functions

int isc_regex_validate (const char *c)
 Check a regular expression for syntactic correctness.


Define Documentation

#define FAIL (  )     goto error

Definition at line 26 of file regex.c.

Referenced by diff_namespace(), dns_journal_print(), isc_regex_validate(), journal_open(), ns_update_start(), read_one_rr(), roll_forward(), send_forward_event(), send_update_event(), update_action(), xfr_rr(), and xfrin_recv_done().


Function Documentation

int isc_regex_validate ( const char *  expression  ) 

Check a regular expression for syntactic correctness.

Returns:

Definition at line 33 of file regex.c.

References error(), FAIL, ISC_FALSE, and ISC_TRUE.

Referenced by ATF_TC_BODY(), and txt_valid_regex().


Generated on Tue Apr 28 17:41:18 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha