Sha256: 70849459158f775c886bf15d613a03cf0ce93ec615335fa4da213121420b82d6
Contents?: true
Size: 112 Bytes
Versions: 7
Compression:
Stored size: 112 Bytes
Contents
function validate_regex(v, pattern){ var regex = new RegExp(pattern); return regex.test(v); }
Version data entries
7 entries across 7 versions & 1 rubygems