Latest CoreFoundation import from High Sierra

Thank you for your patience with this process. This latest release took a bit longer than we expected. But here is the pull request for the changes to CoreFoundation to reflect the changes in High Sierra: Import CoreFoundation sources from High Sierra by phausler · Pull Request #1305 · apple/swift-corelibs-foundation · GitHub

There are a number of areas to consider when reviewing this (and I would sincerely appreciate any extra eyes on this pull request). Particularly any platforms other than macOS a Ubuntu should be carefully reviewed and tried out to ensure it works properly. Also any architectures other than x86_64 should be tested out as well (particularly any big endian architectures).

One extra change included was a small fix to the Xcode project that should speed up local builds considerably.

Please let me know if there are any concerns.

Hi Philippe,

I was just trying to use the new NSTextCheckingResult.range(withName:) in a project but noticed that CFRegularExpression.c was not updated.
Are there any plans to update in the near future?

Thanks

I created a PR to add this missing API: