Hegel 0.18.2
Property-based testing for C++
Loading...
Searching...
No Matches
hegel::generators::RegexParams Struct Reference

Parameters for the from_regex() overload with an alphabet. More...

#include <strings.h>

Public Attributes

bool fullmatch = true
std::optional< CharactersParams > alphabet

Detailed Description

Parameters for the from_regex() overload with an alphabet.

Member Data Documentation

◆ alphabet

std::optional<CharactersParams> hegel::generators::RegexParams::alphabet

The characters any part of the string may contain: the characters a wildcard, a negated class or the padding around a partial match draws from, and those a literal or class may produce. Default: all of Unicode.

◆ fullmatch

bool hegel::generators::RegexParams::fullmatch = true

Whether the entire generated string must match the pattern (as if anchored with ^ and $), or only contain a match.


The documentation for this struct was generated from the following file: