Commits

Dmitri Hrybenko committed a69e341aa2c
stdlib/NSString APIs on String: fix a bug and add tests for rangeOfCharacterFromSet(_:options:range:) The underlying Objective-C API could return an NSRange of NSNotFound. Swift's String.Index can not represent that, so change the API to return an optional Swift Range<Index> instead. Swift SVN r18679