|Ondřej Hruška 89f3d40a5c add readme||1 month ago|
|test||1 month ago|
|.gitignore||1 month ago|
|CMakeLists.txt||1 month ago|
|LICENSE.txt||1 month ago|
|Makefile||1 month ago|
|README.md||1 month ago|
|prefix_match.c||1 month ago|
|prefix_match.h||1 month ago|
Abbreviated multi-part command / word sequence recognition.
Supports partial match (only some command words), individual multi-part command word abbreviating, as well as (obviously) simple single-word commands and their abbreviations.
Can recognize things like
"ip i s d" as
"ip interface set down" or
"r a" as
if there is no ambiguity among the provided options. Supports more than one delimiter at a time
(e.g, colon, hyphen, underscore, space, tab, whatever). Leading and trailing delimiters and
duplicate delimiters are ignored.
Inspect the unit test suite and doc comments in the header file for more info and examples of use.