From 66227fdf743b0bcc26dd7aaa2585822bdfb2427c Mon Sep 17 00:00:00 2001 From: Scott K Date: Mon, 22 Sep 2014 18:00:14 -0700 Subject: [PATCH] Fixes NSRegularExpression initializer --- Markingbird/Markdown.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Markingbird/Markdown.swift b/Markingbird/Markdown.swift index 99906a9..20d1c96 100644 --- a/Markingbird/Markdown.swift +++ b/Markingbird/Markdown.swift @@ -1780,7 +1780,7 @@ private struct MarkdownRegex { #endif var error: NSError? - let re = NSRegularExpression.regularExpressionWithPattern(pattern, + let re = NSRegularExpression(pattern: pattern, options: options, error: &error)