aboutsummaryrefslogtreecommitdiffstats
path: root/src/match.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* match: enable regular expressions when using findFredrik Lanker2009-01-031-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 noticesAvuton Olrich2008-12-311-9/+10
|
* 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().