mg_match_prefix.md 374 Bytes
Newer Older
1 2 3 4 5 6 7 8
---
title: "mg_match_prefix()"
decl_name: "mg_match_prefix"
symbol_kind: "func"
signature: |
  int mg_match_prefix(const char *pattern, int pattern_len, const char *str);
---

9
Matches 0-terminated string (mg_match_prefix) or string with given length
10
mg_match_prefix_n against a glob pattern.
11 12 13

Match is case-insensitive. Returns number of bytes matched, or -1 if no
match. 
14