Skip to content

Commit

Permalink
Merge pull request #212 from troygizzi/FixRobotHearRegex
Browse files Browse the repository at this point in the history
Fix Robot.Hear Regex
  • Loading branch information
PeteGoo committed Oct 11, 2015
2 parents 232753b + ee35091 commit b728f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MMBot.Core/Robot.cs
Expand Up @@ -504,7 +504,7 @@ public async Task Shutdown()

private string PrepareHearRegexPattern(string regex)
{
return string.Format("^(?:{0})", regex);
return string.Format("(?:{0})", regex);
}

private string PrepareRespondRegexPattern(string regex)
Expand Down

0 comments on commit b728f90

Please sign in to comment.