A variant of Valid that allows past-one position that represents the position after running
a search at the end of the string.
Equations
- String.Pos.ValidPlus s p = (String.Pos.Valid s p ∨ p = s.endPos + { byteIdx := 1 })
A variant of Valid that allows past-one position that represents the position after running
a search at the end of the string.