sisi4s
|
#include <regex>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
struct | pars::Regex |
Namespaces | |
namespace | pars |
Typedefs | |
using | pars::Str = std::string |
Functions | |
const Str | pars::oneOrMore ("+") |
const Str | pars::newline ("\\n") |
const Str | pars::anyChar (".") |
const Str | pars::tab ("\\t") |
const Str | pars::anyOf ("*") |
const Str | pars::optional ("?") |
const Str | pars::eof ("$") |
const Str | pars::orOf ("|") |
const Str | pars::bof ("^") |
const Str | pars::alnum ("[[:alnum:]]") |
const Str | pars::alpha ("[[:alpha:]]") |
const Str | pars::blank ("[[:blank:]]") |
const Str | pars::cntrl ("[[:cntrl:]]") |
const Str | pars::digit ("[[:digit:]]") |
const Str | pars::graph ("[[:graph:]]") |
const Str | pars::lower ("[[:lower:]]") |
const Str | pars::upper ("[[:upper:]]") |
const Str | pars::print ("[[:print:]]") |
const Str | pars::punct ("[[:punct:]]") |
const Str | pars::space ("[[:space:]]") |
const Str | pars::xdigit ("[[:xdigit:]]") |
const Str | pars::realNumber ("[-eE+\\d.]+") |
const std::function< Str(Str)> | pars::capture ([](const Str &i) { return "("+i+")";}) |
const std::function< Str(Str)> | pars::group ([](const Str &i) { return "(?:"+i+")";}) |
std::string | pars::oneOf (const std::vector< std::string > &v) |
template<typename F > | |
std::vector< F > | pars::parseVector (const std::string &) |