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:
"d" for hasIndices
"g" for global
"i" for ignoreCase
"m" for multiline
"s" for dotAll
"u" for unicode
"v" for unicodeSets
"y" for sticky
If no flags are set, the value is the empty string.