]> git.saurik.com Git - cydia.git/blobdiff - Cydia/MIMEAddress.mm
cydia.addPipelinedHost was never actually used :D.
[cydia.git] / Cydia / MIMEAddress.mm
index 2a80ae7758d521ad1352e66976f2cc2dbc5ed081..a30be35f290d6a61ebd271060a033e1f700cb9e4 100644 (file)
@@ -1,5 +1,5 @@
 /* Cydia - iPhone UIKit Front-End for Debian APT
- * Copyright (C) 2008-2014  Jay Freeman (saurik)
+ * Copyright (C) 2008-2015  Jay Freeman (saurik)
 */
 
 /* GNU General Public License, Version 3 {{{ */
 **/
 /* }}} */
 
-#include "Cydia/MIMEAddress.h"
+#include "CyteKit/UCPlatform.h"
 
-#include <WebKit/WebScriptObject.h>
+#include "Cydia/MIMEAddress.h"
+#include "CyteKit/RegEx.hpp"
 
-#include "CyteKit/PerlCompatibleRegEx.hpp"
+#include "iPhonePrivate.h"
 
 @implementation MIMEAddress
 
@@ -63,7 +64,7 @@
         const char *data = [string UTF8String];
         size_t size = [string lengthOfBytesUsingEncoding:NSUTF8StringEncoding];
 
-        static Pcre address_r("^\"?(.*)\"? <([^>]*)>$");
+        static RegEx address_r("\"?(.*)\"? <([^>]*)>");
 
         if (address_r(data, size)) {
             name_ = address_r[1];