Skip to content

Escape the hyphens in the roles regexes #361

Merged
merged 1 commit into from Oct 27, 2012
Commits on Oct 24, 2012
  1. Escape the hyphens in the roles regexes

    Reed Lipman committed Oct 24, 2012
    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
Something went wrong with that request. Please try again.