flags property

String get flags

Returns a string indicating the flags of the regular expression in question. This field is read-only. The characters in this string are sequenced and concatenated in the following order:

  • "g" for global
  • "i" for ignoreCase
  • "m" for multiline
  • "u" for unicode
  • "y" for sticky

If no flags are set, the value is the empty string.

Implementation

_i2.String get flags => _i6.getProperty(
      this,
      'flags',
    );