summaryrefslogtreecommitdiff
path: root/Cydia/MIMEAddress.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Cydia/MIMEAddress.mm')
-rw-r--r--Cydia/MIMEAddress.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cydia/MIMEAddress.mm b/Cydia/MIMEAddress.mm
index 2a80ae7..aea37ca 100644
--- a/Cydia/MIMEAddress.mm
+++ b/Cydia/MIMEAddress.mm
@@ -23,7 +23,7 @@
#include <WebKit/WebScriptObject.h>
-#include "CyteKit/PerlCompatibleRegEx.hpp"
+#include "CyteKit/RegEx.hpp"
@implementation MIMEAddress
@@ -63,7 +63,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];