Open Instance Methodswift 6.0.3Foundation
copy(with:)
func copy(with zone: NSZone? = nil) -> Any
func copy(with zone: NSZone? = nil) -> Any
s10Foundation19NSRegularExpressionC4copy4withypAA6NSZoneVSg_tF
What are these?9D4O9
import Foundation
class NSRegularExpression
struct NSZone
required convenience init?(coder aDecoder: NSCoder)
init(pattern: String, options: NSRegularExpression.Options = []) throws
class var supportsSecureCoding: Bool { get }
class func escapedPattern(for string: String) -> String
class func escapedTemplate(for string: String) -> String
var numberOfCaptureGroups: Int { get }
var options: NSRegularExpression.Options { get }
var pattern: String { get }
override func copy() -> Any
func encode(with aCoder: NSCoder)
func enumerateMatches(in string: String, options: NSRegularExpression.MatchingOptions = [], range: NSRange, using block: @escaping (NSTextCheckingResult?, NSRegularExpression.MatchingFlags, UnsafeMutablePointer<ObjCBool>) -> Void)
func firstMatch(in string: String, options: NSRegularExpression.MatchingOptions = [], range: NSRange) -> NSTextCheckingResult?
override func isEqual(_ object: Any?) -> Bool
func matches(in string: String, options: NSRegularExpression.MatchingOptions = [], range: NSRange) -> [NSTextCheckingResult]
func numberOfMatches(in string: String, options: NSRegularExpression.MatchingOptions = [], range: NSRange) -> Int
func rangeOfFirstMatch(in string: String, options: NSRegularExpression.MatchingOptions = [], range: NSRange) -> NSRange
func replaceMatches(in string: NSMutableString, options: NSRegularExpression.MatchingOptions = [], range: NSRange, withTemplate templ: String) -> Int
func replacementString(for result: NSTextCheckingResult, in string: String, offset: Int, template templ: String) -> String
func stringByReplacingMatches(in string: String, options: NSRegularExpression.MatchingOptions = [], range: NSRange, withTemplate templ: String) -> String
struct MatchingFlags
struct MatchingOptions
struct Options