Improve performance of docs snippet length checkstyle rule (#53636)
Improve performance of docs snippet length checkstyle rule (#53636)

The multiline regex rule used to detect docs code snippets greater than
76 characters in length has considerable cost to. For the high level
rest client project alone, this was taking upwards of 3 minutes. This
commit updates the rule regex pattern to use non-greedy matching when
appropriate which results in a lot fewer backtracks and about a 70%
reduction in execution time on the high level rest client module.
uschindler/elasticsearch,nknize/elasticsearch,robin13/elasticsearch,gingerwizard/elasticsearch,uschindler/elasticsearch,robin13/elasticsearch,uschindler/elasticsearch,HonzaKral/elasticsearch,gingerwizard/elasticsearch,gingerwizard/elasticsearch,GlenRSmith/elasticsearch,robin13/elasticsearch,scorpionvicky/elasticsearch,scorpionvicky/elasticsearch,gingerwizard/elasticsearch,GlenRSmith/elasticsearch,scorpionvicky/elasticsearch,gingerwizard/elasticsearch,GlenRSmith/elasticsearch,nknize/elasticsearch,robin13/elasticsearch,uschindler/elasticsearch,gingerwizard/elasticsearch,GlenRSmith/elasticsearch,scorpionvicky/elasticsearch,GlenRSmith/elasticsearch,uschindler/elasticsearch,HonzaKral/elasticsearch,nknize/elasticsearch,nknize/elasticsearch,HonzaKral/elasticsearch,robin13/elasticsearch,nknize/elasticsearch,HonzaKral/elasticsearch,gingerwizard/elasticsearch,scorpionvicky/elasticsearch