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 |
Documentation
A single regular expression. This is used in a RegexPatternSet.
See: newRegex
smart constructor.
Regex' | |
|
Instances
FromJSON Regex Source # | |
ToJSON Regex Source # | |
Defined in Amazonka.WAFV2.Types.Regex | |
Generic Regex Source # | |
Read Regex Source # | |
Show Regex Source # | |
NFData Regex Source # | |
Defined in Amazonka.WAFV2.Types.Regex | |
Eq Regex Source # | |
Hashable Regex Source # | |
Defined in Amazonka.WAFV2.Types.Regex | |
type Rep Regex Source # | |
Defined in Amazonka.WAFV2.Types.Regex |
Create a value of Regex
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:regexString:Regex'
, regex_regexString
- The string representing the regular expression.