code: public static List<String> splitOnWordBoundaries(final String value, final boolean includeDelims) {
          if (value == null) {
              return Collections.emptyList();
          }
  
          return Arrays.asList(WORD_BOUNDARY_PATTERN.split(value));
      }
docs: Splits a String on word boundaries, yielding tokens that are all
  "single words" (see {@link #isSingleWord(String)}) or delimitors (if
  includeDelims is set to true)
  
  @param value
  the String to split
  @param includeDelims
  whether or not to include the delimitors in the returned list
  @return a list containing words and delimitors.