Lines Matching refs:XRegExp
434 var XRegExp = __webpack_require__(3).XRegExp;
460 arrayRegex = XRegExp("^\\[(?<values>(.*?))\\]$"),
462 regex = XRegExp("(?<name>[\\w-]+)" + "\\s*:\\s*" + "(?<value>" + "[\\w%#-]+|" + // word
468 while ((match = XRegExp.exec(str, regex, pos)) != null) {
474 var m = XRegExp.exec(value, arrayRegex);
496 exports.commonRegExp = exports.XRegExp = undefined;
504 exports.XRegExp = _xregexp2.default;
644 regex.__proto__ = XRegExp.prototype;
646 for (p in XRegExp.prototype) {
650 regex[p] = XRegExp.prototype[p];
690 if (!XRegExp.isRegExp(regex)) {
909 XRegExp.forEach(value, /[^\s,]+/, function (match) {
959 match = XRegExp.exec(pattern, t.regex, pos, 'sticky');
1057 function XRegExp(pattern, flags) {
1071 if (XRegExp.isRegExp(pattern)) {
1082 if (XRegExp.isInstalled('astral') && flags.indexOf('A') === -1) {
1115 token = XRegExp.exec(appliedPattern, nativeTokens[scope], pos, 'sticky')[0];
1141 XRegExp.prototype = new RegExp();
1155 XRegExp.version = '3.1.0-dev';
1210 XRegExp.addToken = function (regex, handler, options) {
1242 XRegExp.cache.flush('patterns');
1259 XRegExp.cache = function (pattern, flags) {
1263 return regexCache[pattern][flags] || (regexCache[pattern][flags] = XRegExp(pattern, flags));
1267 XRegExp.cache.flush = function (cacheName) {
1289 XRegExp.escape = function (str) {
1322 XRegExp.exec = function (str, regex, pos, sticky) {
1381 XRegExp.forEach = function (str, regex, callback) {
1386 while (match = XRegExp.exec(str, regex, pos)) {
1412 XRegExp.globalize = function (regex) {
1437 XRegExp.install = function (options) {
1461 XRegExp.isInstalled = function (feature) {
1479 XRegExp.isRegExp = function (value) {
1511 XRegExp.match = function (str, regex, scope) {
1566 XRegExp.matchChain = function (str, chain) {
1590 XRegExp.forEach(values[i], item.regex, addMatch);
1644 XRegExp.replace = function (str, search, replacement, scope) {
1645 var isRegex = XRegExp.isRegExp(search),
1663 s2 = new RegExp(XRegExp.escape(String(search)), 'g');
1701 XRegExp.replaceEach = function (str, replacements) {
1706 str = XRegExp.replace(str, r[0], r[1], r[2]);
1738 XRegExp.split = function (str, separator, limit) {
1765 XRegExp.test = function (str, regex, pos, sticky) {
1767 return !!XRegExp.exec(str, regex, pos, sticky);
1790 XRegExp.uninstall = function (options) {
1818 XRegExp.union = function (patterns, flags) {
1852 if (XRegExp.isRegExp(pattern)) {
1858 output.push(nativ.replace.call(XRegExp(pattern.source).source, parts, rewrite));
1860 output.push(XRegExp.escape(pattern));
1864 return XRegExp(output.join('|'), flags);
1961 if (!XRegExp.isRegExp(regex)) {
1990 var isRegex = XRegExp.isRegExp(search),
2127 if (!XRegExp.isRegExp(separator)) {
2148 XRegExp.forEach(str, separator, function (match) {
2181 …XRegExp.addToken(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4}|{[\dA-Fa-f]+})|x(?![…
2200 XRegExp.addToken(/\\u{([\dA-Fa-f]+)}/, function (match, scope, flags) {
2225 XRegExp.addToken(/\[(\^?)]/, function (match) {
2235 XRegExp.addToken(/\(\?#[^)]*\)/, function (match, scope, flags) {
2243 XRegExp.addToken(/\s+|#.*/, function (match, scope, flags) {
2251 XRegExp.addToken(/\./, function () {
2262 XRegExp.addToken(/\\k<([\w$]+)>/, function (match) {
2278 XRegExp.addToken(/\\(\d+)/, function (match, scope) {
2295 XRegExp.addToken(/\(\?P?<([\w$]+)>/, function (match) {
2316 XRegExp.addToken(/\((?!\?)/, function (match, scope, flags) {
2331 module.exports = XRegExp;
2475 while (match = _syntaxhighlighterRegex.XRegExp.exec(code, regexInfo.regex, pos)) {
3729 …code: (0, _syntaxhighlighterRegex.XRegExp)("(?<left>" + regexGroup.left.source + ")" + "(?<code>.*…
3892 var XRegExp = __webpack_require__(3).XRegExp;
3933 …regex: new XRegExp("(?<full_tag>(<|<){2}(?<tag>\\w+)) .*$(?<here_doc>[\\s\\S]*)(?<end_tag>^\\k<…
5305 var XRegExp = __webpack_require__(3).XRegExp;
5311 tag = XRegExp.exec(code, XRegExp('(<|<)[\\s\\/\\?!]*(?<name>[:\\w-\\.]+)', 'xg')),
5317 … regex = XRegExp('(?<name> [\\w:.-]+)' + '\\s*=\\s*' + '(?<value> ".*?"|\'.*?\'|\\w+)', 'xg');
5319 while ((attributes = XRegExp.exec(code, regex, pos)) != null) {
5332 regex: XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'),
5338 regex: XRegExp('(<|<)[\\s\\/\\?!]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(>|>)', 'sg'),
5762 if (typeof window.XRegExp === 'undefined') {
5763 window.XRegExp = __webpack_require__(3).XRegExp;