Simplify version regex by using non-capturing groups
Simplify version regex by using non-capturing groups

The inline comments about the match indices were confusing and
somewhat hard to maintain due to being split over multiple segments

Since only match[3] is ever used, use non-capturing groups for
everything else.

Change-Id: I95adc97a26791d2f8def60ae0f92b975e6bb90e4

wikimedia/jquery-client