aboutsummaryrefslogtreecommitdiffstats
path: root/src/match.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* match: use g_utf8_casefold() in match_line()Max Kellermann2008-12-101-2/+21
| | | | | | strcasestr() is a non-standard function, and requires setting _GNU_SOURCE. To avoid this, do wasteful g_utf8_casefold() conversions and use strstr().
* list_window: moved string matching to match.hMax Kellermann2008-12-101-0/+28
Provide the new function match_line() which searches a string for a needle (ignoring case). This wraps the non-standard function strcasestr().