File: std.cpp

package info (click to toggle)
ctre 3.9.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,084 kB
  • sloc: cpp: 80,452; makefile: 135; javascript: 69; python: 31
file content (10 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#include "common.hpp"

int main (int argc, char ** argv)
{
	auto re = std::regex(PATTERN);
	
	benchmark(argc, argv, [&] (std::string_view line) { 
		return std::regex_search(line.begin(), line.end(), re);
	});
}