Files
mostlymatter/vendor/github.com/tidwall/match
Agniva De Sarker 189d447591 MM-39315: Bump dependencies (#19039)
Note: We keep splitio/go-client untouched
because the dependency is broken.

See https://github.com/mattermost/mattermost-server/pull/18604

```release-note
NONE
```
2021-11-24 19:45:28 +05:30
..
2021-03-25 14:45:13 +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.