Lumiera  0.pre.03
»edit your freedom«
lib::stat::anonymous_namespace{csv.hpp} Namespace Reference

Functions

template<typename VAL >
string format4Csv (VAL const &val)
 

Variables

const regex ACCEPT_FIELD
 
const regex FIND_DELIMITER_TOKEN {"[,;]"}
 
const string MATCH_DELIMITER { R"~((?:^|,|;)\s*)~" }
 
const string MATCH_QUOTED_TOKEN { R"~("([^"]*)"\s*)~" }
 
const string MATCH_SINGLE_TOKEN { R"~(([^,;"\s]*)\s*)~"}
 

Variable Documentation

◆ ACCEPT_FIELD

const regex ACCEPT_FIELD
Initial value:
{ MATCH_DELIMITER + "(?:"+ MATCH_QUOTED_TOKEN +"|"+ MATCH_SINGLE_TOKEN +")"
, regex::optimize}

Definition at line 79 of file csv.hpp.