Swiftpack.co - Package - GalenRhodes/RegularExpression

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.


A more Swift-like replacement for NSRegularExpression.


RegularExpression is a replacement for NSRegularExpression that is much more Swift friendly.

A Note about the methods that take closures:

I know that having these methods as throws rather than a rethrows is not ideal but given that NSRegularExpression, which we're actually using underneath, doesn't allow it's closure to be throws sort of leaves us no choice. At least I haven't found an easy way around it. So I decided to have these methods as throws and in the future, if we can fix this issue, make them rethrows then.


I, Introvert - A Better RegularExpression

API Documentation

Documentation of the API can be found here: RegularExpression API


Stars: 0
Last commit: 5 days ago


2.0.1 - 2021-02-26T12:59:42

Bug fixes.