summaryrefslogtreecommitdiff
path: root/bot.go
diff options
context:
space:
mode:
Diffstat (limited to 'bot.go')
-rw-r--r--bot.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot.go b/bot.go
index 8e0e856..7209679 100644
--- a/bot.go
+++ b/bot.go
@@ -76,10 +76,10 @@ func parseKnownToTag(content string) []string {
}
tag := cfg.CharSpecificContextTag
if tag == "" {
- tag = "__known_to_chars__"
+ tag = "@"
}
- // Pattern: tag + list + "__"
- pattern := regexp.QuoteMeta(tag) + `(.*?)__`
+ // Pattern: tag + list + "@"
+ pattern := regexp.QuoteMeta(tag) + `(.*?)@`
re := regexp.MustCompile(pattern)
matches := re.FindAllStringSubmatch(content, -1)
if len(matches) == 0 {