mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 07:02:12 +02:00
Use GLib's regexp interface (backed by PCRE)
This commit is contained in:
parent
91f48c6f0e
commit
8e5db471e4
7 changed files with 43 additions and 88 deletions
|
|
@ -58,10 +58,8 @@ static void ignore_print(int index, IGNORE_REC *rec)
|
|||
g_string_append(options, "-regexp ");
|
||||
if (rec->pattern == NULL)
|
||||
g_string_append(options, "[INVALID! -pattern missing] ");
|
||||
#ifdef HAVE_REGEX_H
|
||||
else if (!rec->regexp_compiled)
|
||||
g_string_append(options, "[INVALID!] ");
|
||||
#endif
|
||||
}
|
||||
if (rec->fullword) g_string_append(options, "-full ");
|
||||
if (rec->replies) g_string_append(options, "-replies ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue