Sha256: 3c1a0bdb40444d2f09054fa28b07e22520aac567adcb13d93979f3aba53ba6f2
Contents?: true
Size: 370 Bytes
Versions: 64
Compression:
Stored size: 370 Bytes
Contents
'use strict'; // 21.2.5.3 get RegExp.prototype.flags var anObject = require('./_an-object'); module.exports = function () { var that = anObject(this); var result = ''; if (that.global) result += 'g'; if (that.ignoreCase) result += 'i'; if (that.multiline) result += 'm'; if (that.unicode) result += 'u'; if (that.sticky) result += 'y'; return result; };
Version data entries
64 entries across 29 versions & 8 rubygems