Sha256: 70511307e78c8733ed06ba86df090173f6be04bb02a8cb28e9b7a3b97daa701e
Contents?: true
Size: 291 Bytes
Versions: 32
Compression:
Stored size: 291 Bytes
Contents
/*! * is-posix-bracket <https://github.com/jonschlinkert/is-posix-bracket> * * Copyright (c) 2015-2016, Jon Schlinkert. * Licensed under the MIT License. */ module.exports = function isPosixBracket(str) { return typeof str === 'string' && /\[([:.=+])(?:[^\[\]]|)+\1\]/.test(str); };
Version data entries
32 entries across 32 versions & 14 rubygems