UNPKG

micromark

Version:

small commonmark compliant markdown parser with positional info and concrete tokens

12 lines (8 loc) 204 B
import fromCharCode from '../constant/from-char-code.mjs' function regexCheck(regex) { return check function check(code) { return regex.test(fromCharCode(code)) } } export default regexCheck