wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/support/linter/OptionsBuilder.java
public String[] splitOptions(final String optionAsString) {
    return optionAsString == null ? ArrayUtils.EMPTY_STRING_ARRAY : optionAsString.split("(?ims),(?![^\\[\\]]*\\])");
  }
public String[] splitOptions(final String optionAsString) {
    return optionAsString == null ? ArrayUtils.EMPTY_STRING_ARRAY : optionAsString.split("(?ims),(?![^\\[\\]]*\\])");
  }
Split multiple options into an array of options.

@param optionAsString string representation of multiple options.
@return an array of options.