github/hubot — pull request #361 by rlipman (2012-10-24 18:54:36+00:00)
Title: Escape the hyphens in the roles regexes

Inside square brackets, unescaped hyphens are position dependent. They act like hyphens normally when at the beginning or end of a square bracket expression. Otherwise it's used to signify a character range.

http://stackoverflow.com/questions/4068629/how-to-match-hyphens-with-regular-expression/4068725#4068725

Before: http://rubular.com/r/G1b3VgW4s4

After: http://rubular.com/r/yB8f1RYulj