Vocabulary
validators

Inputs
stra string


Outputs
stra string


Word description
Throws a validation error if the string contains line breaks.

Definition


: v-one-line ( str -- str )
v-required dup "\r\n" intersects?
[ "must be a single line" throw ] when ;