         ]
     )
 
-    typealias Operators = (to: String?, toNot: String?)
-    typealias MatcherFunction = String
+    fileprivate typealias Operators = (to: String?, toNot: String?)
+    fileprivate typealias MatcherFunction = String
 
     fileprivate let operatorsMapping: [MatcherFunction: Operators] = [
         "equal": (to: "==", toNot: "!="),

        let toPattern = ("expect\\(\(anything)\\)\\.to\\(\(name)\\(\(anything)\\)\\)", operators.to)
        let toNotPattern = ("expect\\(\(anything)\\)\\.toNot\\(\(name)\\(\(anything)\\)\\)", operators.toNot)

        var correctedString: String? = nil

        for (pattern, operatorString) in [toPattern, toNotPattern] {
            guard let operatorString = operatorString else {

            }

            let expression = regex(pattern)
            if !expression.matches(in: self, options: [], range: range).isEmpty {
                correctedString = expression.stringByReplacingMatches(in: self,
                                                                      options: [],
                                                                      range: range,
                                                                      withTemplate: "expect($1) \(operatorString) $2")
                break
            }
        }
