| 1 | "use strict"; |
| 2 | |
| 3 | module.exports = function (t, a) { |
| 4 | var re; |
| 5 | a(t.call(/raz/), false, "Normal"); |
| 6 | a(t.call(/raz/g), false, "Global"); |
| 7 | try { |
| 8 | // eslint-disable-next-line no-invalid-regexp |
| 9 | re = new RegExp("raz", "y"); |
| 10 | } catch (ignore) {} |
| 11 | if (!re) return; |
| 12 | a(t.call(re), true, "Sticky"); |
| 13 | }; |