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.

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.

◆ repetition()

void repetition ( )

Create ASTs from regexes with repetition.