From e79cf7bead3f9ab2c42bbe288a848929056e02cf Mon Sep 17 00:00:00 2001 From: chotaire Date: Wed, 17 Apr 2019 03:55:57 +0200 Subject: [PATCH] Fixed canonical gofmt style in gitter.go --- bridge/gitter/gitter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/gitter/gitter.go b/bridge/gitter/gitter.go index a12b8f3d..94ca885a 100644 --- a/bridge/gitter/gitter.go +++ b/bridge/gitter/gitter.go @@ -99,7 +99,7 @@ func (b *Bgitter) Send(msg config.Message) (string, error) { b.Log.Errorf("Could not find roomID for %v", msg.Channel) return "", nil } - + // Strip IRC colors sent to Gitter re := regexp.MustCompile(`\x03(?:\d{1,2}(?:,\d{1,2})?)?|[[:cntrl:]]`) msg.Text = re.ReplaceAllString(msg.Text, "")