1//IsNumber function 2 String.prototype.isNumber = function () { 3 return /^\d+$/.test(this); 4 }; 5 //IsValidDate 6 String.prototype.isDate = function () { 7 return /^\d{4}-\d{2}-\d{2}$/.test(this); 8 }; 9 10 String.prototype.isCivic = function () { 11 return /^\d{12}$/.test(this); 12 }; 13 14 //isStringEmail 15 String.prototype.isEmail = function () { 16 return /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(this); 17 };
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.