πŸ” Regular expressions in Swift aren't just string patterns β€” they're first-class types, checked at compile time, and can be written with a readable builder syntax – it's truly a thing of beauty. https://www.hackingwithswift.com/swift/5.7/regexes
Regular expressions – available from Swift 5.7

Regular expressions example code from Swift 5.7

Hacking with Swift
(If you watch any of my streams you'll know I am somewhat obsessed with regular expressions. It STILL blows my mind that regex literals are fully parsed by the compiler.)

@twostraws if you are obsessed with regular expressions, then don't forget about the very fun online game https://regexcrossword.com

🍸😺

Regex Crossword

A crossword puzzle game using regular expressions. Earn achievements completing puzzle challenges. Easy tutorials for people new to regular expressions.

Regex Crossword
@martinicat I have spent such a long time playing that πŸ˜‚
@twostraws I figured as much, I thought the others might enjoy hearing about it too🍸😹