Converts a regex flags string into a RegexBuilderOptions object.
RegexBuilderOptions
The flags string to convert.
An options object representing the flags.
Converts a regex flags string into a
RegexBuilderOptions
object.