summaryrefslogtreecommitdiff
path: root/src/fe-common/core/hilight-text.h
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2016-04-30 21:46:18 +0200
committerailin-nemui <ailin-nemui@users.noreply.github.com>2016-04-30 21:46:18 +0200
commitcf98260eded9150d4ce1f3c5184ae5f3463d9c21 (patch)
tree336713adeabe64f53fd72a79711117ff22fcbc22 /src/fe-common/core/hilight-text.h
parent907a8ce8abdaaef0f35e7a82e8d4d482bc244d30 (diff)
parentb63339af89abc9830ecf8c56916db9eb1a42e005 (diff)
downloadirssi-cf98260eded9150d4ce1f3c5184ae5f3463d9c21.zip
Merge pull request #476 from isundil/master
Add an option to make /hilight case sensitive
Diffstat (limited to 'src/fe-common/core/hilight-text.h')
-rw-r--r--src/fe-common/core/hilight-text.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/hilight-text.h b/src/fe-common/core/hilight-text.h
index 3c897def..ae05e1ca 100644
--- a/src/fe-common/core/hilight-text.h
+++ b/src/fe-common/core/hilight-text.h
@@ -23,6 +23,7 @@ struct _HILIGHT_REC {
unsigned int nickmask:1; /* `text' is a nick mask */
unsigned int fullword:1; /* match `text' only for full words */
unsigned int regexp:1; /* `text' is a regular expression */
+ unsigned int case_sensitive:1;/* `text' must match case */
#ifdef HAVE_REGEX_H
unsigned int regexp_compiled:1; /* should always be TRUE, unless regexp is invalid */
regex_t preg;