added regexp free routines, replaced regexp mode string with symbol
This commit is contained in:
parent
5706703ab4
commit
2ae9529a3e
10 changed files with 115 additions and 35 deletions
|
|
@ -446,7 +446,7 @@ main(int argc, char **argv)
|
|||
if (help)
|
||||
usage(h, argv[0]);
|
||||
|
||||
if (strcmp(clicon_yang_regexp(h), "libxml2")==0){
|
||||
if (clicon_yang_regexp(h) == REGEXP_LIBXML2){
|
||||
#ifdef HAVE_LIBXML2
|
||||
/* Enable XSD libxml2 regex engine */
|
||||
cligen_regex_xsd_set(cli_cligen(h), 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue