Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information