Swiftpack.co - GalenRhodes/RegularExpression as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A more Swift-like replacement for NSRegularExpression.
.package(url: "https://github.com/GalenRhodes/RegularExpression.git", from: "3.0.0")


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: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

Clean up and more standardized.
2 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics