         return wrapped
     }
 }
+
+// MARK: - Cross platform compatibility
+
+#if !os(Linux)
+private typealias RegularExpression = NSRegularExpression
+#endif

 */

import Foundation

#if !os(Linux)
typealias RegularExpression = NSRegularExpression
#endif

/// Type alias defining what type of Dictionary that Wrap produces
public typealias WrappedDictionary = [String : Any]

    }
}

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