Re-use existing regex for whitespace detection
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Whitespace regex could also detect newlines, but since we're only matching the part from last newline, it's safer (and more readable) to use it here.
authored by Matěj Volf · committed by David Lord · parent a12ad40 · Browse files · 1 file+3 added−6 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+3 added−6 removed
- other:+3 added−6 removed