Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/workflows/ | H | 08-Oct-2021 | - | |||
LICENSE | H A D | 08-Oct-2021 | 1.1 KiB | |||
README.md | H A D | 08-Oct-2021 | 557 | |||
go.mod | H A D | 08-Oct-2021 | 41 | |||
match.go | H A D | 08-Oct-2021 | 5.4 KiB | |||
match_test.go | H A D | 08-Oct-2021 | 11.4 KiB |
README.md
1# Match 2 3[![GoDoc](https://godoc.org/github.com/tidwall/match?status.svg)](https://godoc.org/github.com/tidwall/match) 4 5Match is a very simple pattern matcher where '*' matches on any 6number characters and '?' matches on any one character. 7 8## Installing 9 10``` 11go get -u github.com/tidwall/match 12``` 13 14## Example 15 16```go 17match.Match("hello", "*llo") 18match.Match("jello", "?ello") 19match.Match("hello", "h*o") 20``` 21 22 23## Contact 24 25Josh Baker [@tidwall](http://twitter.com/tidwall) 26 27## License 28 29Redcon source code is available under the MIT [License](/LICENSE). 30