FEATURED

`s/a/b/i` in Swift

Let's be honest: NSRegularExpressions are so lengthy that you avoid them.

Most languages provide a way to perform string substitution simply: string/pattern/replacementpattern/options. Thanks to operator overloading, we were able to recreate this in Apple's Swift Programming Language