RegexOptions constructor

RegexOptions({
  1. required String regex,
  2. bool? isCaseSensitive,
  3. bool? requireCapturing,
})

Implementation

RegexOptions({
  /// The regular expresson to check.
  required String regex,

  /// Whether the `regex` specified is case sensitive. Default is
  /// true.
  bool? isCaseSensitive,

  /// Whether the `regex` specified requires capturing. Capturing is
  /// only required for redirect rules which specify a
  /// `regexSubstition` action. The default is false.
  bool? requireCapturing,
}) : _wrapped = $js.RegexOptions(
        regex: regex,
        isCaseSensitive: isCaseSensitive,
        requireCapturing: requireCapturing,
      );