commit | 99eb2cc1cc3171f1443201d4174e716ee7903f1e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Mar 12 11:59:24 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 12 14:13:21 2021 +0100 |
tree | 0248d7e265fd244ddc5062337490cd10e8fa06e6 | |
parent | 433b05fa6448c1cda47dfadc5abcfa8d80ae1ff1 [diff] |
MINOR: actions: add a function to suggest an action ressembling a given word action_suggest() will return a pointer to an action whose keyword more or less ressembles the passed argument. It also accepts to be more tolerant against prefixes (since actions taking arguments are handled as prefixes). This will be used to suggest approaching words.