fix for 1.2

This commit is contained in:
Erik 2015-03-19 08:31:30 -04:00
parent 15954f36f5
commit 457a33c677

View File

@ -43,7 +43,7 @@ public class SwiftRegex: NSObject, BooleanType {
}
final var targetRange: NSRange {
return NSRange(location: 0,length: countElements(target.utf16))
return NSRange(location: 0,length: count(target.utf16))
}
final func substring(range: NSRange) -> String? {