  */
 
 import Foundation
-
-#if !os(Linux)
-typealias RegularExpression = NSRegularExpression
-#endif
 
 /// Type alias defining what type of Dictionary that Wrap produces
 public typealias WrappedDictionary = [String : Any]

    }
}

/// Extension customizing how NSDictionaries are wrapped
#if !os(Linux)
extension NSDictionary: WrapCustomizable {
    public func wrap(context: Any?, dateFormatter: DateFormatter?) -> Any? {
        return try? Wrapper(context: context, dateFormatter: dateFormatter).wrap(dictionary: self as [NSObject : AnyObject])

    }
}

#if !os(Linux)
/// Extension making NSdate a WrappableDate
extension NSDate: WrappableDate {
    public func wrap(dateFormatter: DateFormatter) -> String {
        return dateFormatter.string(from: self as Date)
