src/Formatters/Formatter.php
protected function getRegexProperty($matches, $value)
    {
        foreach ($matches as $index => $match) {
            if (is_numeric($index) && $index != 0) {
                $value = str_replace('$'.$index, $match, $value);
            }
        }

        return $value;
    }
protected function getRegexProperty($matches, $value)
    {
        foreach ($matches as $index => $match) {
            if (is_numeric($index) && $index != 0) {
                $value = str_replace('$'.$index, $match, $value);
            }
        }

        return $value;
    }
protected function getRegexProperty ( $ matches , $ value ) { foreach ( $ matches as $ index => $ match ) { if ( is_numeric ( $ index ) && $ index != 0 ) { $ value = str_replace ( '$' . $ index , $ match , $ value ) ; } } return $ value ; }
Get regex property.

@param array  $matches
@param string $value

@return string
Get regex property .