Fix regex.match() in doRegexTest() missing start of string

doRegexTest() does not reset regex.lastIndex before beginning the
search again with .match() (after using .test() to confirm at least
one match exists). As a result the first match in the file could be
missed by .match().

In practice this doesn't seem to happen as the .test() call runs on
a shorter version of the file without comments, so the .match() call
starts sufficiently early in the file to catch the first match hit by
test().

To be thorough regex.lastIndex should be reset before the first test()
call in case it was non-zero. However, currently the regex object passed to
doRegexTest() is always newly created, so it's always 0 before test().
Fix intermittent test failures in notifications and revisions widgets
(Issue 3778) Don't show display name as link if user does not have access
Modify all bundles to not include the link to the user profile
Modify the header keys to not include the link to the user profile
Merge pull request #3798 from bp323/issue-3778

User to which I don't have access is showing as a link in my activity feed
Fix changepicutre dialog not opening second time
Add oae:id to the activity view item model in the activity adapter
Merge pull request #3803 from bp323/changePic

Add oae:id to the activity view item model in the activity adapter, Fix changepicutre dialog not opening second time
Synchronise Crowdin translations
Always use up-to-date user picture in the activity feed
Pass around 'me' object in ActivityAdapter
Follow up on code review
Merge pull request #3804 from bp323/changePic

Profile pictures in activity stream update when user changes profile picture, but revert to old picture when screen is refreshed
Fix unusedkeys test not detecting key use in widgets with no js
(Release 7.0.0) Bump version
(Crowdin) Change the JAR location to HTTPS
(Crowdin) Synchronize with crowdin
(Crowdin) Synchronize updated translations from Crowdin
(Crowdin) Synchronize new translations with crowdin