     }()
     
     deinit {
-        regularExpresions.removeAll()
+        _regularExpresions.removeAll()
         phoneDataDetector = nil
     }
 


class RegularExpressions {
        
    var regularExpresions = [String : NSRegularExpression]()

    var phoneDataDetector: NSDataDetector? = {
        do {
            let dataDetector = try NSDataDetector(types: NSTextCheckingResult.CheckingType.phoneNumber.rawValue)

            do {
                let currentPattern: NSRegularExpression
                currentPattern =  try NSRegularExpression(pattern: pattern, options:NSRegularExpression.Options.caseInsensitive)
                self.addRegularExpression(regex: currentPattern, pattern: pattern)
                return currentPattern
            }
            catch {
