#include "string_manip.h"#include "op_regex.h"#include <iostream>#include <fstream>#include <cstdlib>
Go to the source code of this file.
Functions | |
| static void | do_test (istream &fin) |
| int | main (int argc, char *argv[]) |
Variables | |
| static int | nr_error = 0 |
A simple test for libregex. Run it through: $ regex_test or $ regex_test filename(s) when no argument is provided "mangled-name" is used, see it for the input file format
Definition in file regex_test.cpp.
| static void do_test | ( | istream & | fin | ) | [static] |
Definition at line 30 of file regex_test.cpp.
References regular_expression_replace::execute(), nr_error, setup_regex(), test(), and trim().
Referenced by main().


| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 65 of file regex_test.cpp.
References do_test(), nr_error, and op_exception::what().

int nr_error = 0 [static] |
Definition at line 28 of file regex_test.cpp.
1.6.1