Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data OptionRestrictionRegex Source #
A regular expression representing a restriction on a string configuration option value.
See: newOptionRestrictionRegex
smart constructor.
Instances
newOptionRestrictionRegex :: OptionRestrictionRegex Source #
Create a value of OptionRestrictionRegex
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:label:OptionRestrictionRegex'
, optionRestrictionRegex_label
- A unique name representing this regular expression.
$sel:pattern':OptionRestrictionRegex'
, optionRestrictionRegex_pattern
- The regular expression pattern that a string configuration option value
with this restriction must match.
optionRestrictionRegex_label :: Lens' OptionRestrictionRegex (Maybe Text) Source #
A unique name representing this regular expression.
optionRestrictionRegex_pattern :: Lens' OptionRestrictionRegex (Maybe Text) Source #
The regular expression pattern that a string configuration option value with this restriction must match.