Help for this page
$ perl -le'print "abc def" =~ m[(^.{0,100})\s]' abc
m[(^.{0,100})(?!\S)]
m[(^.{0,100})(\s|$)]