mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 07:02:12 +02:00
switch for gregex and regex.h
This commit is contained in:
parent
5dcf291f21
commit
f5cbbebc2e
8 changed files with 133 additions and 2 deletions
|
|
@ -58,8 +58,13 @@ 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 USE_GREGEX
|
||||
else if (rec->preg == NULL)
|
||||
g_string_append(options, "[INVALID!] ");
|
||||
#else
|
||||
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