Code Duplication    Length = 5-5 lines in 2 locations

modules/custom-css/custom-css/preprocessors/lessc.inc.php 1 location

@@ 3494-3498 (lines=5) @@
3491
		if ($eatWhitespace === null) $eatWhitespace = $this->eatWhiteDefault;
3492
3493
		$r = '/'.$regex.($eatWhitespace && !$this->writeComments ? '\s*' : '').'/Ais';
3494
		if (preg_match($r, $this->buffer, $out, null, $this->count)) {
3495
			$this->count += strlen($out[0]);
3496
			if ($eatWhitespace && $this->writeComments) $this->whitespace();
3497
			return true;
3498
		}
3499
		return false;
3500
	}
3501

modules/custom-css/custom-css/preprocessors/scss.inc.php 1 location

@@ 3966-3970 (lines=5) @@
3963
		if (is_null($eatWhitespace)) $eatWhitespace = $this->eatWhiteDefault;
3964
3965
		$r = '/'.$regex.'/Ais';
3966
		if (preg_match($r, $this->buffer, $out, null, $this->count)) {
3967
			$this->count += strlen($out[0]);
3968
			if ($eatWhitespace) $this->whitespace();
3969
			return true;
3970
		}
3971
		return false;
3972
	}
3973