Skip to content

Commit

Permalink
Don't need /m on regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsle committed Jan 19, 2017
1 parent 0f4cbfd commit 7e2c878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brain.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class Brain
reply = reply.replace(/«__call__»/ig, "<call>")
reply = reply.replace(/«\/__call__»/ig, "</call>")
callRe = /<call>([\s\S]+?)<\/call>/ig
argsRe = /«__call_arg__»([\s\S]*?\/__call_arg__»/mig
argsRe = /«__call_arg__»([\s\S]*?\/__call_arg__»/ig

giveup = 0
matches = {}
Expand Down

0 comments on commit 7e2c878

Please sign in to comment.