Log Surgeon
Test & API docs
Loading...
Searching...
No Matches
test-regex-ast.cpp File Reference
#include <codecvt>
#include <cstdint>
#include <locale>
#include <string>
#include <string_view>
#include <log_surgeon/finite_automata/RegexAST.hpp>
#include <log_surgeon/Schema.hpp>
#include <log_surgeon/SchemaParser.hpp>
#include <catch2/catch_test_macros.hpp>

Functions

void capture ()
 Create an AST from a regex with a capture group.
void repetition ()
 Create ASTs from regexes with repetition.
void capture_containing_repetition ()
 Create ASTs from simple regexes with a capture group containing repetition.
void multi_valued_capture_0 ()
 Create ASTs from simple regexes with a multi-valued (repeated) capture group.
void multi_valued_capture_1 ()
 Create an AST from a complex regex with multi-valued (repeated) capture groups.