Skip to content

Rerelease - Initial Stable

Latest
Compare
Choose a tag to compare
@asciifaceman asciifaceman released this 05 Sep 08:09
04fdbe8

Go Reference

I believe this to be relatively stable for the moment and I wrote fairly challenging (imho, I may be wrong/ignorant here) test cases to prove it out.

Shift runes left and right within a []rune
Move all whitespace on the outside edges of a []rune to the left or right
Move all whitespace on the outside left into the interior of the []rune
    Intended to be used after a rslice.ShiftWhitespaceLeft
    Dramatically ignores control characters seeking to the next whitespace occurrence after a non-whitespace character
Find the index with the least whitespace within a []rune (tail end)
Detect newline runes
Detect if a []rune is just all whitespace (trivial)
Detect count of "words" (groupings of non-whitespace characters) within a []rune
    Counts control characters as non-whitespace even tho they are not counted in Normalize

This marks the end of the rapid main-push dev cycle and all future contributions will be through a Pull Request.