Removed unnecessary regexp part. Added comments about whether using a capturing group is necessary.
Added comment about possibly clearer regexp.
Merge pull request #3495 from lebigot/master

Simplified regexp, and suggestions for clearer regexps.