Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | match: use g_utf8_casefold() in match_line() | Max Kellermann | 2008-12-10 | 1 | -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.h | Max Kellermann | 2008-12-10 | 1 | -0/+28 |
Provide the new function match_line() which searches a string for a needle (ignoring case). This wraps the non-standard function strcasestr(). |