6 lines
189 B
JavaScript
6 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)); };
|