src/MarkdownIt/Common/Utils.php
public function isMdAsciiPunct($c) {
        $code = ord($c);
        if(
            ( $code >= 0x21 /* ! */  && $code <= 0x2F /* / */) ||
            ( $code >= 0x3A /* : */  && $code <= 0x40 /* @ */) ||
            ( $code >= 0x5B /* [ */  && $code <= 0x60 /* ` */) ||
            ( $code >= 0x7B /* { */  && $code <= 0x7E /* ~ */)
        ) return true;
        return false;
    }
public function isMdAsciiPunct($c) {
        $code = ord($c);
        if(
            ( $code >= 0x21 /* ! */  && $code <= 0x2F /* / */) ||
            ( $code >= 0x3A /* : */  && $code <= 0x40 /* @ */) ||
            ( $code >= 0x5B /* [ */  && $code <= 0x60 /* ` */) ||
            ( $code >= 0x7B /* { */  && $code <= 0x7E /* ~ */)
        ) return true;
        return false;
    }
public function isMdAsciiPunct ( $ c ) { $ code = ord ( $ c ) ; if ( ( $ code >= 0x21 /* ! */ && $ code <= 0x2F /* / */ ) || ( $ code >= 0x3A /* : */ && $ code <= 0x40 /* @ */ ) || ( $ code >= 0x5B /* [ */ && $ code <= 0x60 /* ` */ ) || ( $ code >= 0x7B /* { */ && $ code <= 0x7E /* ~ */ ) ) return true ; return false ; }
Markdown ASCII punctuation characters.

!, ", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @, [, \, ], ^, _, `, {, |, }, or ~
@see http://spec.commonmark.org/0.15/#ascii-punctuation-character

Don't confuse with unicode punctuation !!! It lacks some chars in ascii range.

@param string $c
@return bool
Markdown ASCII punctuation characters .