Update mg_match_prefix.md

This commit is contained in:
Evelyn 2016-07-25 17:37:20 +01:00 committed by GitHub
parent 3586203753
commit 285f75764c

View File

@ -6,7 +6,7 @@ signature: |
int mg_match_prefix(const char *pattern, int pattern_len, const char *str);
---
Match 0-terminated string (mg_match_prefix) or string with given length
Matches 0-terminated string (mg_match_prefix) or string with given length
mg_match_prefix_n against a glob pattern.
Match is case-insensitive. Return number of bytes matched, or -1 if no match.
Match is case-insensitive. Returns the number of bytes matched or -1 if no match.