您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Ondřej Hruška
89f3d40a5c
|
4 年前 | |
---|---|---|
test | 4 年前 | |
.gitignore | 4 年前 | |
CMakeLists.txt | 4 年前 | |
LICENSE.txt | 4 年前 | |
Makefile | 4 年前 | |
README.md | 4 年前 | |
prefix_match.c | 4 年前 | |
prefix_match.h | 4 年前 |
README.md
prefix_match
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 "route add"
,
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.