diff options
author | bustico | 2004-09-07 13:40:32 +0000 |
---|---|---|
committer | bustico | 2004-09-07 13:40:32 +0000 |
commit | d4565b84b2ab68161269cc725c390bb2fb20d8fb (patch) | |
tree | e2721182270e894f28ba9f77c310b75344624e6d /src/ivy.c | |
parent | a713fb80ed3ef52d2596239870ec5fcccf8d45c3 (diff) | |
download | ivy-c-d4565b84b2ab68161269cc725c390bb2fb20d8fb.zip ivy-c-d4565b84b2ab68161269cc725c390bb2fb20d8fb.tar.gz ivy-c-d4565b84b2ab68161269cc725c390bb2fb20d8fb.tar.bz2 ivy-c-d4565b84b2ab68161269cc725c390bb2fb20d8fb.tar.xz |
permit case sensisite/insensitive choice for pcre and gnu regexp at Makefile
level
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 ) |