I saw this in a JavaScript regular expression that try to match id and class, so what does \u007F
and \uFFFF
match here?
var split = require('browser-split');
var tag = "#id.classname";
var classIdSplit = /([\.#]?[a-zA-Z0-9\u007F-\uFFFF_:-]+)/;
var tagParts = split(tag, classIdSplit);
I saw this in virtual-dom library, the author intend to use this to split
"#id.classname"
into
["", "#id", "", ".classname"]