From 7e2c8783ddae72540bdfc61a9b349b67c727e4cf Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Thu, 19 Jan 2017 08:33:06 -0800 Subject: [PATCH] Don't need /m on regexp --- src/brain.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/brain.coffee b/src/brain.coffee index 3183fbb..85d283f 100644 --- a/src/brain.coffee +++ b/src/brain.coffee @@ -96,7 +96,7 @@ class Brain reply = reply.replace(/«__call__»/ig, "") reply = reply.replace(/«\/__call__»/ig, "") callRe = /([\s\S]+?)<\/call>/ig - argsRe = /«__call_arg__»([\s\S]*?)«\/__call_arg__»/mig + argsRe = /«__call_arg__»([\s\S]*?)«\/__call_arg__»/ig giveup = 0 matches = {}