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!
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!