Files
mostlymatter/vendor/github.com/tidwall/match
Agniva De Sarker 48f8e2fa44 MM-43753: Go mod tidy for 1.18 (#20073)
We bump the go.mod version to 1.18
and run go mod tidy.

This is required for using new features.

```release-note
NONE
```
2022-04-27 13:51:49 +05:30
..
2021-03-25 14:45:13 +05:30
2021-11-24 19:45:28 +05:30

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

Redcon source code is available under the MIT License.