Sha256: e142900e2f52159162caf73e46058716475af15c2d613ab8cf1b3f96c6d6786e
Contents?: true
Size: 376 Bytes
Versions: 34
Compression:
Stored size: 376 Bytes
Contents
'use strict'; // 21.2.5.3 get RegExp.prototype.flags var anObject = require('./$.an-object'); module.exports = function(){ var that = anObject(this) , 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
34 entries across 17 versions & 7 rubygems