ZRabadaber / match.c

Simple string pattern matcher for C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

match.c

A very simple pattern matcher where '*' matches on any number characters and '?' matches on any one character.

Example

match("*llo", 3, "hello", 5); 
match("?ello", 5, "jello", 5); 
match("h*o",  3, "hello", 5);

License

match.c source code is available under the MIT License.

About

Simple string pattern matcher for C

License:MIT License


Languages

Language:C 100.0%