Strip spaces.
Fix Issue 11253 - std.algorithm.count is not nothrow.
WorkAround 12661: To make SortedRange#this() nothrow

Debug statements prevent this function from nothrow.
So I take them out of the function body and put them into the
postcontract which has another context.
Supplemental fix for issue 7469
Merge pull request #2153 from 9rnsr/fix7469

Supplemental fix for issue 7469
Merge pull request #2128 from AndrejMitrovic/Fix11253

Issue 11253 - std.algorithm.count is not nothrow
Merge pull request #2148 from qchikara/WA12661

FIX 12661: [REG2.066a] std.regex with -debug causes linker errors