We decided to keep the NS on NSRegularExpression because we know that a strong
goal for the Swift language is to have built-in support for regex. We wanted to
be cautious about taking the name without knowing more about how that feature
would shake out.
We should get a JIRA filed or a PR up to put the NS back for the class name in
> On Sep 16, 2016, at 6:16 AM, Pushkar N Kulkarni via swift-corelibs-dev
> <firstname.lastname@example.org> wrote:
> The NS prefix from NSRegularExpression seems to have been dropped only in
> open source Foundation. On Darwin the class is still called
> I went through the Drop NS prefix proposal
> but couldn't relate this to any of the rules mentioned there (except for a
> possibility that we will have a RegularExpression value type in future only
> on Darwin!)
> Is there any particular reason for this difference?
> Thanks in advance!
> Pushkar N Kulkarni,
> IBM Runtimes
> Simplicity is prerequisite for reliability - Edsger W. Dijkstra
> swift-corelibs-dev mailing list
swift-corelibs-dev mailing list