Abbreviated multi-part command recognition C library
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
Ondřej Hruška 89f3d40a5c
add readme
4 anos atrás
test Initial 4 anos atrás
.gitignore Initial 4 anos atrás
CMakeLists.txt Initial 4 anos atrás
LICENSE.txt Initial 4 anos atrás
Makefile Initial 4 anos atrás
README.md add readme 4 anos atrás
prefix_match.c Initial 4 anos atrás
prefix_match.h Initial 4 anos atrás

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.