swiftlang / swift-experimental-string-processing

An early experimental general-purpose pattern matching engine for Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inline modifier fails to work consistently

jasonbobier opened this issue · 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.