github.com/fufuok/utils@v1.0.10/xjson/match/README.md (about) 1 # Match 2 3 [](https://godoc.org/github.com/tidwall/match) 4 5 Match is a very simple pattern matcher where '*' matches on any 6 number characters and '?' matches on any one character. 7 8 ## Installing 9 10 ``` 11 go get -u github.com/tidwall/match 12 ``` 13 14 ## Example 15 16 ```go 17 match.Match("hello", "*llo") 18 match.Match("jello", "?ello") 19 match.Match("hello", "h*o") 20 ``` 21 22 23 ## Contact 24 25 Josh Baker [@tidwall](http://twitter.com/tidwall) 26 27 ## License 28 29 Redcon source code is available under the MIT [License](/LICENSE).