micromark
Version:
small commonmark compliant markdown parser with positional info and concrete tokens
11 lines (7 loc) • 361 B
JavaScript
var regexCheck = require('../util/regex-check.js')
var unicodePunctuationRegex = require('../constant/unicode-punctuation-regex.js')
// Size note: removing ASCII from the regex and using `ascii-punctuation` here
// In fact adds to the bundle size.
var unicodePunctuation = regexCheck(unicodePunctuationRegex)
module.exports = unicodePunctuation