main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
665 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | "use strict";
|
---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 3 | exports.BLANK_URL = exports.relativeFirstCharacters = exports.urlSchemeRegex = exports.ctrlCharactersRegex = exports.htmlCtrlEntityRegex = exports.htmlEntitiesRegex = exports.invalidProtocolRegex = void 0;
|
---|
| 4 | exports.invalidProtocolRegex = /^([^\w]*)(javascript|data|vbscript)/im;
|
---|
| 5 | exports.htmlEntitiesRegex = /&#(\w+)(^\w|;)?/g;
|
---|
| 6 | exports.htmlCtrlEntityRegex = /&(newline|tab);/gi;
|
---|
| 7 | exports.ctrlCharactersRegex = /[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;
|
---|
| 8 | exports.urlSchemeRegex = /^.+(:|:)/gim;
|
---|
| 9 | exports.relativeFirstCharacters = [".", "/"];
|
---|
| 10 | exports.BLANK_URL = "about:blank";
|
---|
Note:
See
TracBrowser
for help on using the repository browser.