[swift-corelibs-dev] JIRA labels (no worries)

2016-05-26 Thread Jordan Rose via swift-corelibs-dev
Hey, Brian. Re: your comment about labels : > By the way, I'm curious for your thoughts on the swift-3.0 label, which I > introduced in > https://lis

Re: [swift-corelibs-dev] [swift-users] String manipulation (replacingOccurrences) in Linux swift

2016-05-26 Thread Brent Royal-Gordon via swift-corelibs-dev
> #if os(Linux) > print("Let's change those carriage returns...") > processedString = string.replacingOccurrences(of: "\r\n", with: > "\n") > #else > processedString = string.replacingOccurrences(of: "\r\n", with: > "\n") > #endif > And

[swift-corelibs-dev] Crash in CFRegularExpressionCreate

2016-05-26 Thread Pushkar N Kulkarni via swift-corelibs-dev
Hi Philippe, other interested folks:This code that tries to create an NSRegularExpression out of an invalid pattern will crash due to a HALT:do {    let re = try NSRegularExpression(pattern: "\\", options: [])} catch {    print("uh oh")}I dug around CoreFoundation and have the following failure hyp