ESAPI-C 1.0
The OWASP Enterprise Security API for C

test/src/is_valid_test.c

Go to the documentation of this file.
00001 #include <stdio.h>
00002 #include <regex.h>
00003 
00004 #include "validate.h"
00005 
00006 int main(void)
00007 {
00008  printf("is_valid return <%i>\n", is_valid("Hello", "[0-9a-zA-z]{1,6}", REG_EXTENDED | REG_NOSUB) );
00009 
00010  return 0;
00011 } 
 All Data Structures Files Functions Variables Typedefs Defines