Swiftpack.co - GalenRhodes/RegularExpression as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by GalenRhodes.
GalenRhodes/RegularExpression 3.0.1
A more Swift-like replacement for NSRegularExpression.
⭐️ 0
🕓 1 year ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/GalenRhodes/RegularExpression.git", from: "3.0.1")

RegularExpression

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.

BLOG Post

I, Introvert - A Better RegularExpression

API Documentation

Documentation of the API can be found here: RegularExpression API

GitHub

link
Stars: 0
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Clean up and more standardized.
2 years ago

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