swiftlang/swift-experimental-string-processing

Inline modifier fails to work consistently

jasonbobier opened this issue · 2 comments

let regex = /(?i)tests?/

"testS".wholeMatch(of: regex) // this fails to match when it should
"tesTs".wholeMatch(of: regex) // this properly matches

Still fails in Xcode Version 15.0 beta (15A5160n)

This still fails as of Xcode 15 and iOS 17.