src/MarkdownIt/RulesBlock/StateBlock.php
public function skipCharsBack($pos, $code, $min)
    {
        if ($pos <= $min) { return $pos; }

        while ($pos > $min) {
            if ($code !== $this->src[--$pos]) { return $pos + 1; }
        }
        return $pos;
    }
public function skipCharsBack($pos, $code, $min)
    {
        if ($pos <= $min) { return $pos; }

        while ($pos > $min) {
            if ($code !== $this->src[--$pos]) { return $pos + 1; }
        }
        return $pos;
    }
public function skipCharsBack ( $ pos , $ code , $ min ) { if ( $ pos <= $ min ) { return $ pos ; } while ( $ pos > $ min ) { if ( $ code !== $ this -> src [ -- $ pos ] ) { return $ pos + 1 ; } } return $ pos ; }
Skip char codes reverse from given position - 1
@param integer $pos
@param string $code
@param integer $min
@return integer
Skip char codes reverse from given position - 1