Skip to content

marklarr/SwiftRegularExpression

Repository files navigation

SwiftRegularExpression

Match regular expressions against strings without holding a ceremony.

"Something" =~ "Some[a-z]{4,7}" // true
        
"Ayaka" =~ "A*" // true
"Kayakayak" =~ "ayaka" // true
"Kayakayak" =~ "^ayaka$" // false
        
"Mickey" =~ "M..k" // true
"Mark" =~ "M..k" // true
"Ayaka" =~ "M..k" // false
        
"Mickey" =~ "M..k.." // true
"Mark" =~ "M..k.." // false

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages