mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-23 20:21:38 +00:00
0786318a04
* Bump gomatrixserverlib Mostly because I want to use Erik's go-faster jsoning. * Update KeyDB for new KeyFetcher API we now need to implement FetcherName. * Attempt to fix integ tests CanonicalJSON doesn't like the empty string, apparently, and anyway canonicalising it is pointless. * More integ test fix |
||
---|---|---|
.. | ||
LICENSE | ||
match_test.go | ||
match.go | ||
README.md |
Match
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.