Open AlexandreBohyn opened 4 years ago
The old regex string would consider the whitespace as an optional split point and would even split character like 'ab' in two separate letters. By changing it from \s? to \s we make the split only possible on '+' '-' and white spaces.
The old regex string would consider the whitespace as an optional split point and would even split character like 'ab' in two separate letters. By changing it from \s? to \s we make the split only possible on '+' '-' and white spaces.