I want to write a fixer for ale to remove all whitespace at the end of a line except for a double whitespace - in markdown this is used to create a linebreak.
I need to match "at end of row, 1 or more white space AND not 2 white space"
kind of like \s\+$\&\s\{^2}$ except that ^ is not negation inside curly brackets. Some googling reveals that negating a count of a meta character seems to be a particularly niche problem.