function check(code) {
    return code !== null && code > -1 && regex.test(String.fromCharCode(code))
  }
Check whether a code matches the bound regex.

@param {Code} code
  Character code.
@returns {boolean}
  Whether the character code matches the bound regex.