/wro4j-core/src/main/java/ro/isdc/wro/model/resource/processor/support/Lessify.java
colors.add( color) ; final String color = m.group( ).substring( 1, m.group( ).length( ) - 1) ;while ( m.find( ) ) {
while ( m.find ( ) ) { final String color = m.group ( ) .substring ( 1, m.group ( ) .length ( ) - 1 ) ; colors.add ( color ) ;
private static final Pattern PATTERN_WORD_COLOR = Pattern.compile(getGiantCssColorRegex()); public String variablizeColors(String css) { final Set<String> colors = new LinkedHashSet<String>(); css = conformColors(css); final Matcher m = PATTERN_COLOR.matcher(css); final Map<String, Integer> colorCount = new HashMap<String, Integer>(); <extra_id_0> if (colorCount.get(color) == null) { colorCount.put(color, 1); } else { colorCount.put(color, colorCount.get(color) + 1); } }