willtheorangeguy / Note-Style-Guide

Found control characters in regular expressions JS-0004
Bug risk
Major
4 months agoa year old
Unexpected control character(s) in regular expression: \x1f, \x1f
  375            : String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320))
  376        );
  377      },
  378      re = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,  379      ie = function (e, t) {
  380        return t
  381          ? "\0" === e
Unexpected control character(s) in regular expression: \x1f, \x1f
  375            : String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320))
  376        );
  377      },
  378      re = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,  379      ie = function (e, t) {
  380        return t
  381          ? "\0" === e
Unexpected control character(s) in regular expression: \x1f, \x1f
  375            : String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320))
  376        );
  377      },
  378      re = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,  379      ie = function (e, t) {
  380        return t
  381          ? "\0" === e
Unexpected control character(s) in regular expression: \x1f, \x1f
  375            : String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320))
  376        );
  377      },
  378      re = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,  379      ie = function (e, t) {
  380        return t
  381          ? "\0" === e
Unexpected control character(s) in regular expression: \x1f, \x1f
  375            : String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320))
  376        );
  377      },
  378      re = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,  379      ie = function (e, t) {
  380        return t
  381          ? "\0" === e