redis / redis-io

Application running http://redis.io
http://redis.io
637 stars 176 forks source link

STRALGO LCS sytanx spec not accurate #235

Closed patpatbear closed 3 years ago

patpatbear commented 3 years ago

currently STRALGO LCS syntax spec is:

STRALGO LCS [KEYS ...] [STRINGS ...] [LEN] [IDX] [MINMATCHLEN <len>] [WITHMATCHLEN]

which IMHO is not accurate, and might be confusing:

I suggest the one used in the source code comment:

STRALGO LCS [IDX] [MINMATCHLEN <len>] [WITHMATCHLEN]  STRINGS <string> <string> | KEYS <keya> <keyb>