• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/workflows/H08-Oct-2021-

LICENSEH A D08-Oct-20211.1 KiB

README.mdH A D08-Oct-2021557

go.modH A D08-Oct-202141

match.goH A D08-Oct-20215.4 KiB

match_test.goH A D08-Oct-202111.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