diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2015-06-26 23:01:28 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2015-06-26 23:01:28 -0700 |
commit | b4fd1197563aca30cf01bf3efaa5c015ba768e11 (patch) | |
tree | 8d8c8ae482e83c8171edb014a8387df408a3d4d6 /CyteKit/WebViewController.mm | |
parent | a09f7a4894d2dde0ac8820993f3d51ba0fe36810 (diff) |
Use libicucore's uregex to avoid Depends: libpcre.
Diffstat (limited to 'CyteKit/WebViewController.mm')
-rw-r--r-- | CyteKit/WebViewController.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm index a7ff586..daa0a57 100644 --- a/CyteKit/WebViewController.mm +++ b/CyteKit/WebViewController.mm @@ -8,7 +8,7 @@ #include "CyteKit/IndirectDelegate.h" #include "CyteKit/Localize.h" #include "CyteKit/WebViewController.h" -#include "CyteKit/PerlCompatibleRegEx.hpp" +#include "CyteKit/RegEx.hpp" #include "CyteKit/WebThreadLocked.hpp" //#include <QuartzCore/CALayer.h> @@ -443,10 +443,10 @@ float CYScrollViewDecelerationRateNormal; // CyteWebViewDelegate {{{ - (void) webView:(WebView *)view addMessageToConsole:(NSDictionary *)message { #if LogMessages - static Pcre irritating("^(?" + static RegEx irritating("(?" ":" "The page at .* displayed insecure content from .*\\." "|" "Unsafe JavaScript attempt to access frame with URL .* from frame with URL .*\\. Domains, protocols and ports must match\\." - ")\\n$"); + ")\\n"); if (NSString *data = [message objectForKey:@"message"]) if (irritating(data)) |