Skip to content

Commit

Permalink
Fixes NSRegularExpression initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott K committed Sep 23, 2014
1 parent c1e8ecc commit 66227fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Markingbird/Markdown.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 66227fd

Please sign in to comment.