Simple string pattern matcher for Go
Go to file
Josh Baker ec90e00ea4
Merge pull request #3 from TeaDove/master
Fix typo in README.md
2023-03-31 21:08:20 -07:00
.github/workflows Create go.yml 2020-11-03 10:47:51 -07:00
LICENSE first commit 2016-08-30 07:19:45 -07:00
README.md fix: fix typo 2023-03-08 23:05:17 +03:00
go.mod Added go.mod 2020-12-23 04:57:38 -07:00
match.go Add MatchLimit function for limiting pattern complexity 2021-10-08 07:36:13 -07:00
match_test.go Add MatchLimit function for limiting pattern complexity 2021-10-08 07:36:13 -07:00

README.md

Match

GoDoc

Match is a very simple pattern matcher where '*' matches on any number characters and '?' matches on any one character.

Installing

go get -u github.com/tidwall/match

Example

match.Match("hello", "*llo") 
match.Match("jello", "?ello") 
match.Match("hello", "h*o") 

Contact

Josh Baker @tidwall

License

Match source code is available under the MIT License.