*****************************/
-static const char RCSID[] = "$Id: regex.cpp,v 1.3 2007/05/04 13:56:05 arjen Exp $";
-
#include <stdio.h>
#include <ctype.h>
#include "String.h"
{
original = reg;
int error = regcomp (&expression, reg.p->s, REG_EXTENDED);
+
+ //TODO: Handle error
}
regex::regex(const char *reg)
{
original = reg;
int error = regcomp (&expression, reg, REG_EXTENDED);
+
+ //TODO: Handle error
}
regex::regex(const regex & reg)
{
original = reg.original;
int error = regcomp (&expression, reg.original, REG_EXTENDED);
+
+ //TODO: Handle error
}
regex::~regex()