This commit is contained in:
13
node_modules/micromark/dist/util/regex-check.js
generated
vendored
Normal file
13
node_modules/micromark/dist/util/regex-check.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
'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
|
||||
Reference in New Issue
Block a user