Webstorm IDE complains about Regex Range

Request Type: bug

How to reproduce: Open angular.js in WebStorm 8, complains that character class may not be used inside character range

Component(s): $compile

Impact: small

Complexity: small

This issue is related to: 

**Detailed Description:**

In CLASS_DIRECTIVE_REGEXP and COMMENT_DIRECTIVE_REGEXP, putting the \- character at the end of the character patter speeds up many IDE parsers and alleviates some errors in certain IDE's. (WebStorm 8)
Functionally absolutely equivalent. No test change needed.

**Other Comments:**