diff options
Diffstat (limited to 'src/ivy.c')
-rw-r--r-- | src/ivy.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -376,7 +376,7 @@ static void Receive( Client client, void *data, char *line ) return; } #ifndef USE_PCRE_REGEX - reg = regcomp(®exp, arg, REG_ICASE|REG_EXTENDED); + reg = regcomp(®exp, arg, REGCOMP_OPT|REG_EXTENDED); if ( reg == 0 ) { IVY_LIST_ADD( clnt->msg_send, snd ) @@ -395,7 +395,7 @@ static void Receive( Client client, void *data, char *line ) MsgSendTo( client, Error, reg, errbuf ); } #else - regexp = pcre_compile(arg, 0,&errbuf,&erroffset,NULL); + regexp = pcre_compile(arg, PCRE_OPT,&errbuf,&erroffset,NULL); if ( regexp != NULL ) { IVY_LIST_ADD( clnt->msg_send, snd ) |