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 asci
(ch: int)
| 236 | |
| 237 | |
| 238 | def isMdAsciiPunct(ch: int) -> bool: |
| 239 | """Markdown ASCII punctuation characters. |
| 240 | |
| 241 | :: |
| 242 | |
| 243 | !, ", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @, [, \\, ], ^, _, `, {, |, }, or ~ |
| 244 | |
| 245 | See http://spec.commonmark.org/0.15/#ascii-punctuation-character |
| 246 | |
| 247 | Don't confuse with unicode punctuation !!! It lacks some chars in ascii range. |
| 248 | |
| 249 | """ |
| 250 | return ch in MD_ASCII_PUNCT |
| 251 | |
| 252 | |
| 253 | def normalizeReference(string: str) -> str: |
no outgoing calls
no test coverage detected
searching dependent graphs…