#include "boost/test/unit_test.hpp"
#include "cetlib/LibraryManager.h"
#include <fstream>
#include <iostream>
#include <regex>
#include <string>
#include <vector>
Go to the source code of this file.
#define BOOST_TEST_MODULE (regex test) |
BOOST_TEST_REQUIRE |
( |
static_cast< bool > |
inFile | ) |
|
Definition at line 37 of file regex_t.cc.
41 std::cout <<
line <<
" match: " << std::boolalpha << result
44 subs[1].str().substr(0, subs[1].
str().
size() - 1) +
45 ", type " + subs[2].str() +
")") :
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
void line(double t, double *p, double &x, double &y, double &z)
QTextStream & endl(QTextStream &s)
for |
( |
auto const &test:tests |
| ) |
|
Initial value:=
std::string const pattern_stem
Definition at line 35 of file regex_t.cc.
std::regex const pattern2 {R"(.*\[(?:\d+0|\d*[1-9])\])"} |
Initial value: return std::regex_match(
test, pattern1) ==
}
std::regex const pattern2
yes & test(std::ostream &)
Definition at line 61 of file regex_t.cc.