Skip to content
πŸ” simple and fast fuzzy string matching in Swift
Swift
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci πŸ” Fuzzy Aug 8, 2019
Sources/Fuzzy
Tests 🏎 Add performance test Aug 9, 2019
.gitignore πŸ” Fuzzy Aug 8, 2019
Package.swift πŸ” Fuzzy Aug 8, 2019
README.md πŸ“– Aug 8, 2019

README.md

πŸ” fuzzy-swift

Swift 5 CircleCI @khoiracle

Simple and fast "fuzzy" string matching. Can be used to implement Sublime Text-like search

Demo

See Example Project

Usage

search(needle: "ab", haystack: "asdfbwe") # true
search(needle: "mtme", haystack: "matchme") # true
search(needle: "mtt", haystack: "matchme") # false

SwiftPM

To use Apple's Swift package manager, add this line to your Package.swift

.package(url: "https://github.com/khoi/fuzzy-swift", from: "0.1.0")

πŸ“œ License

MIT

You can’t perform that action at this time.