     
     func isValid(importString: String) -> Bool {
         var numberOfMatches = 0
-        let matchingOptions = NSRegularExpression.MatchingOptions(rawValue: UInt(0))
         let range = NSMakeRange(0, importString.characters.count)
+        let matchingOptions : NSRegularExpression.MatchingOptions = []
         
         if buffer.isSwiftSource {
             numberOfMatches = swiftModuleImportRegex.numberOfMatches(in: importString, options: matchingOptions, range: range)

                
                NSApp.deactivate()
                
                frontmostApplication?.activate(options: NSApplicationActivationOptions(rawValue: 0))
                
                self.completionHandler(nil)
            })

    
    let completionHandler: (Error?) -> Void
    
    lazy var importRegex = try! NSRegularExpression(pattern: AddImportOperationConstants.objcImport, options: [])
    lazy var moduleImportRegex = try! NSRegularExpression(pattern: AddImportOperationConstants.objcModuleImport, options: [])
    lazy var swiftModuleImportRegex = try! NSRegularExpression(pattern: AddImportOperationConstants.swiftModuleImport, options: [])
    lazy var objcClassForwardDeclarationRegex = try! NSRegularExpression(pattern: AddImportOperationConstants.objcClassForwardDeclaration, options: [])

    var lineToRemove: Int = NSNotFound
    
