Regex

object Regex

Regex generator configuration.

Properties

Link copied to clipboard

Charset used when generating text for this scope.

Link copied to clipboard

Candidate lengths excluded after minLength and maxLength are composed.

Link copied to clipboard

Maximum candidate length for generated text. The composed length range is checked when candidates are sampled.

Link copied to clipboard

Minimum candidate length for generated text. The composed length range is checked when candidates are sampled.

Functions

Link copied to clipboard
context(context: FakeContext)
fun length(): Int

Samples a length from the composed length candidates after applying min, max, and exclusion settings.

Creates settings that fix generated lengths to value and clear configured length exclusions.

Creates settings that replace generated length endpoints with value and clear configured length exclusions.