Tell JSHint to ignore dots in regexps

Those are valid patterns when used properly. The resulting warnings hid actual
issues at least in the WikitextSerializer.

Change-Id: I5e6519a7e5e7254a43bd05d22d91b12a98fe3f34
Merge "Tell JSHint to ignore dots in regexps"