lib/string.c: update match_string() doc-strings with correct behavior