Popularity
2.8
Stable
Activity
0.0
Stable
116
8
12

Programming language: Swift
License: GNU General Public License v3.0 or later
Tags: Regex    

SwiftRegex alternatives and similar libraries

Based on the "Regex" category.
Alternatively, view SwiftRegex alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of SwiftRegex or a related project?

Add another 'Regex' Library

README

SwiftRegex

Perl-like regex =~ operator for Swift

This package implements a =~ string infix operator for use in testing regular expressions and retrieving sequences of matching sub-strings.

The regular expression matching is performed using NSRegularExpression.

Example

for match in "Hello World" =~ "\\w+" {
    println("matched: \(match)")
}

Prints:

matched: Hello
matched: World