Log Surgeon
Test & API docs
Loading...
Searching...
No Matches
Regex AST unit tests.

Capture related unit tests. More...

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.
void order_of_operations ()
 Test order of operations.
void regex_shorthands ()
 Test regex shorthands.

Detailed Description

Capture related unit tests.

These unit tests contain the Regex tag.

Function Documentation

◆ capture()

void capture ( )

Create an AST from a regex with a capture group.

◆ capture_containing_repetition()

void capture_containing_repetition ( )

Create ASTs from simple regexes with a capture group containing repetition.

◆ multi_valued_capture_0()

void multi_valued_capture_0 ( )

Create ASTs from simple regexes with a multi-valued (repeated) capture group.

◆ multi_valued_capture_1()

void multi_valued_capture_1 ( )

Create an AST from a complex regex with multi-valued (repeated) capture groups.

◆ order_of_operations()

void order_of_operations ( )

Test order of operations.

◆ regex_shorthands()

void regex_shorthands ( )

Test regex shorthands.

◆ repetition()

void repetition ( )

Create ASTs from regexes with repetition.