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)