This commit is contained in:
10
node_modules/micromark/lib/util/regex-check.mjs
generated
vendored
Normal file
10
node_modules/micromark/lib/util/regex-check.mjs
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
export default regexCheck
|
||||
|
||||
import fromCharCode from '../constant/from-char-code.mjs'
|
||||
|
||||
function regexCheck(regex) {
|
||||
return check
|
||||
function check(code) {
|
||||
return regex.test(fromCharCode(code))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user