mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
14 lines
293 B
JavaScript
14 lines
293 B
JavaScript
"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");
|
|
};
|