标签: swift
代码:
let regex = try NSRegularExpression(pattern: "([+-]?\\d+(\\.\\d+)?)[Ee]([+-]?\\d+)", options: [])
现在options应该属于NSRegularExpressionOptions类型,[]如何符合这一要求?
options
NSRegularExpressionOptions
[]