RegexOptions constructor

const RegexOptions({
  1. bool multiLine = false,
  2. bool caseSensitive = true,
  3. bool unicode = false,
  4. bool dotAll = false,
})

Creates a RegexOptions object If multiLine is enabled, then ^ and $ will match the beginning and end of a line, in addition to matching beginning and end of input, respectively.

If caseSensitive is disabled, then case is ignored.

If unicode is enabled, then the pattern is treated as a Unicode pattern as described by the ECMAScript standard.

If dotAll is enabled, then the . pattern will match all characters, including line terminators.

Implementation

const RegexOptions({
  this.multiLine = false,
  this.caseSensitive = true,
  this.unicode = false,
  this.dotAll = false,
});