Returns the options used when the regular expression option was created.
- iOS 4.0+
- macOS 10.7+
- tvOS 9.0+
- watchOS 2.0+
- Mac Catalyst 13.0+Beta
The options property specifies aspects of the regular expression matching that are always used when matching the regular expression. For example, if the expression is case sensitive, allows comments, ignores metacharacters, etc. See
NSRegular for a complete discussion of the possible constants and their meanings.