setSplitRegex

Overrider the default text splitting regex.

The default splitter uses "\n\\s+" (new lines and spaces)

Return

this

Parameters

regex

the regex to split the getText into words