It confused me at first as well. :)

Since `[\s\S]+?` is essentially a non-greedy super-wildcard matching (meaning it _really_ does match everything) it was added in this [commit](https://github.com/angular/angular.js/commit/c9705b755645a4bfe066243f2ba15a733c3787e1#diff-f7b537c61e90325996f3c86b13cd53c4) to allow for essentially multi-line expressions. `\S+ 

Given the expected format of the expression:
- the first super-wildcard group is later [assigned to another var](https://github.com/angular/angular.js/blob/master/src/ng/directive/ngRepeat.js#L218) which then [matches against another regexp](https://github.com/angular/angular.js/blob/master/src/ng/directive/ngRepeat.js#L240). Granted this one coupl