Skip to content

PatternAttribute

1 min read

Import: import system.validation;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

PatternAttribute

Regular expression required for a string.

public struct PatternAttribute

value

Regular expression that the input string must match.

public value: string