Skip to content

Commit

Permalink
Merge pull request #1 from scottkawai/master
Browse files Browse the repository at this point in the history
Fixes NSRegularExpression initializer
  • Loading branch information
kristopherjohnson committed Sep 23, 2014
2 parents c1e8ecc + 66227fd commit a8a1106
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 a8a1106

Please sign in to comment.