overseer/node_modules/es5-ext/reg-exp/#/is-sticky.js

7 lines
189 B
JavaScript

"use strict";
var validRegExp = require("../valid-reg-exp")
, re = /\/[a-xz]*y[a-xz]*$/;
module.exports = function () { return Boolean(String(validRegExp(this)).match(re)); };