Code Duplication    Length = 4-6 lines in 2 locations

modules/custom-css/custom-css/preprocessors/lessc.inc.php 2 locations

@@ 3618-3621 (lines=4) @@
3615
			$skip = 0;
3616
			$newlines = 0;
3617
			switch ($min[0]) {
3618
			case 'url(':
3619
				if (preg_match('/url\(.*?\)/', $text, $m, 0, $count))
3620
					$count += strlen($m[0]) - strlen($min[0]);
3621
				break;
3622
			case '"':
3623
			case "'":
3624
				if (preg_match('/'.$min[0].'.*?(?<!\\\\)'.$min[0].'/', $text, $m, 0, $count))
@@ 3632-3637 (lines=6) @@
3629
				if ($skip === false) $skip = strlen($text) - $count;
3630
				else $skip -= $count;
3631
				break;
3632
			case '/*':
3633
				if (preg_match('/\/\*.*?\*\//s', $text, $m, 0, $count)) {
3634
					$skip = strlen($m[0]);
3635
					$newlines = substr_count($m[0], "\n");
3636
				}
3637
				break;
3638
			}
3639
3640
			if ($skip == 0) $count += strlen($min[0]);