summaryrefslogtreecommitdiff
path: root/Cydia
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-06-26 23:01:28 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-06-26 23:01:28 -0700
commitb4fd1197563aca30cf01bf3efaa5c015ba768e11 (patch)
tree8d8c8ae482e83c8171edb014a8387df408a3d4d6 /Cydia
parenta09f7a4894d2dde0ac8820993f3d51ba0fe36810 (diff)
Use libicucore's uregex to avoid Depends: libpcre.
Diffstat (limited to 'Cydia')
-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];