FACT++  1.0
vector< string > Converter::Regex ( const std::string &  expr,
const std::string &  line 
)
static

Definition at line 866 of file Converter.cc.

References i.

Referenced by GetHex().

867 {
868  const boost::regex reg(expr);
869 
870  boost::smatch what;
871  if (!boost::regex_match(line, what, reg, boost::match_extra))
872  return vector<string>();
873 
874  vector<string> ret;
875  for (unsigned int i=0; i<what.size(); i++)
876  ret.push_back(what[i]);
877 
878  return ret;
879 }
int i
Definition: db_dim_client.c:21

+ Here is the caller graph for this function: