Blog

Swift 5.7: Regex

What's new?
Frontentica
Team
March 5, 2023

1. Real parsers as parts of regular expressions
We can use existing parsers already developed.

2. Regex is capable of Unicode.
The following two features have been implemented:
i: Canonical equivalence.
ii: Extended clusters of graphemes and symbol classes with strings

3. Swift Regex looks more understandable thanks to its regular expression builders (especially resultBuilder)

4. Predictable execution, obvious elements of control
If we use Swift Regex, we can take benefits of the development environment's hints and reduce compile-time errors!

Let’s talk about your project

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.