You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
293 B
14 lines
293 B
4 years ago
|
"use strict";
|
||
|
|
||
|
module.exports = function (t, a) {
|
||
|
var re;
|
||
|
a(t.call(/raz/), false, "Normal");
|
||
|
a(t.call(/raz/g), false, "Global");
|
||
|
try {
|
||
|
// eslint-disable-next-line no-invalid-regexp
|
||
|
re = new RegExp("raz", "u");
|
||
|
} catch (ignore) {}
|
||
|
if (!re) return;
|
||
|
a(t.call(re), true, "Unicode");
|
||
|
};
|