Redi/S patters only support exact, needle*, *needle and *needle* patterns. Full Redis-like pattern support would be great.
Redis supported glob-style patterns:
- h?llo matches hello, hallo and hxllo
- h*llo matches hllo and heeeello
- h[ae]llo matches hello and hallo, but not hillo
- h[^e]llo matches hallo, hbllo, ... but not hello
- h[a-b]llo matches hallo and hbllo
Not sure what kinda of regex lib one would want to use here. NSRegularExpression sounds expensive and not quite right (we want UInt8 collection matching here!).
Redi/S patters only support
exact,needle*,*needleand*needle*patterns. Full Redis-like pattern support would be great.Redis supported glob-style patterns:
Not sure what kinda of regex lib one would want to use here. NSRegularExpression sounds expensive and not quite right (we want UInt8 collection matching here!).