mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 15:12:11 +02:00
Refactor regex and implement UTF8 mode for GRegex
- with non-unicode byte to Private Use Area A mapping - move all ifdefs to iregex.h file only
This commit is contained in:
parent
31b9d115b0
commit
79bbca4644
12 changed files with 327 additions and 132 deletions
|
|
@ -58,13 +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 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