Files
coopgo/node_modules/micromark/lib/util/regex-check.js
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

13 lines
221 B
JavaScript

'use strict'
var fromCharCode = require('../constant/from-char-code.js')
function regexCheck(regex) {
return check
function check(code) {
return regex.test(fromCharCode(code))
}
}
module.exports = regexCheck