Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | match: enable regular expressions when using find | Fredrik Lanker | 2009-01-03 | 1 | -1/+4 |
| | | | | | It uses g_regex_match_simple() in glib and is case insensitive. The search in the NCMPC_MINI case is unchanged. | ||||
* | Update copyright notices | Avuton Olrich | 2008-12-31 | 1 | -9/+10 |
| | |||||
* | 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(). |