{"_id":"globrex","_rev":"8-94e8bf621c1e24901bda0314c6e2c637","name":"globrex","dist-tags":{"latest":"0.1.2"},"versions":{"0.0.0":{"name":"globrex","version":"0.0.0","description":"Transform globs into RegExp","main":"src/index.js","author":{"name":"Terkel Gjervig"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/terkelg/globrex.git"},"files":["src"],"keywords":["glob","regex","regexp","parser","glob2regx","compiler"],"scripts":{"test":"tape test/*.js | tap-spec"},"devDependencies":{"tap-spec":"^4.1.1","tape":"^4.8.0"},"bugs":{"url":"https://github.com/terkelg/globrex/issues"},"homepage":"https://github.com/terkelg/globrex#readme","_id":"globrex@0.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.7.1","_npmUser":{"name":"terkelg","email":"terkel@terkel.com"},"dist":{"integrity":"sha512-WLmIozwBZW8FS3cR7x9SUTwxHUDUopsKXxOPXxY9t0ZCA8D5mwswEhRtBUTiblYxJjzl0ULFeMxvBIUuOTFq7Q==","shasum":"6aee665877248de265990de9cef4131d74aa8f03","tarball":"https://registry.npmjs.org/globrex/-/globrex-0.0.0.tgz","fileCount":4,"unpackedSize":17087,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBvztME0MOCFHdg9p4KMu3NKg+nKfrIOE0g00qmQ/TXzAiBhOcZy+kcdfMeZVBLO+IW2nlLQieNFEAT7ep2YiinnbA=="}]},"maintainers":[{"name":"terkelg","email":"terkel@terkel.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globrex_0.0.0_1523339962763_0.4931726659487192"},"_hasShrinkwrap":false},"0.0.1":{"name":"globrex","version":"0.0.1","description":"Glob to regex","main":"src/index.js","author":{"name":"Terkel Gjervig"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/terkelg/globrex.git"},"files":["src"],"keywords":["glob","regex","regexp","parser","glob2regx","compiler"],"scripts":{"test":"tape test/*.js | tap-spec"},"devDependencies":{"tap-spec":"^4.1.1","tape":"^4.8.0"},"gitHead":"3b89a97c90631ed0cc09b52a4aac359b81b4115f","bugs":{"url":"https://github.com/terkelg/globrex/issues"},"homepage":"https://github.com/terkelg/globrex#readme","_id":"globrex@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.7.1","_npmUser":{"name":"terkelg","email":"terkel@terkel.com"},"dist":{"integrity":"sha512-vwRXYZkQDq1Ke2nPOVljJTWckB2yxSHlhmYgjphaJPmhy79bTwWSd9zolfcsagape78pEn3VA15duv1l7bGs2Q==","shasum":"0d9fcb2a1546e8deb65dd5b93c29a658043040c1","tarball":"https://registry.npmjs.org/globrex/-/globrex-0.0.1.tgz","fileCount":5,"unpackedSize":18408,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDB0HF1gvvwqUg68zMtZyEZb01doGXlxCkVr3dT3xQ7mgIgZa7tErI5eiz56VERtmhndbs117CQPzBL5RwJeyYzqJs="}]},"maintainers":[{"name":"terkelg","email":"terkel@terkel.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globrex_0.0.1_1523344920089_0.8955753520088621"},"_hasShrinkwrap":false},"0.0.2":{"name":"globrex","version":"0.0.2","description":"Glob to regex","main":"src/index.js","author":{"name":"Terkel Gjervig"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/terkelg/globrex.git"},"files":["src"],"keywords":["glob","regex","regexp","parser","glob2regx","compiler"],"scripts":{"test":"tape test/*.js | tap-spec"},"devDependencies":{"tap-spec":"^4.1.1","tape":"^4.8.0"},"gitHead":"e8b879917f5555e5a56b84125849136a64992925","bugs":{"url":"https://github.com/terkelg/globrex/issues"},"homepage":"https://github.com/terkelg/globrex#readme","_id":"globrex@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.7.1","_npmUser":{"name":"terkelg","email":"terkel@terkel.com"},"dist":{"integrity":"sha512-zqcxmC4z4f9DXOIYGmjIaDIj1Ho5nArqcmfVmhgRCoFB77RhcbwywrSoWYLx5Yy0wAlGm0vU+NF8TpkUVDd8bw==","shasum":"9fbdfeee1e3edd878d61ebda19fa57a999850ca4","tarball":"https://registry.npmjs.org/globrex/-/globrex-0.0.2.tgz","fileCount":5,"unpackedSize":18511,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8dXQ06gu8usPWN3Vok6dkgQHAKCnVrpDuaJRZR5LtHAiEA5n1tKlWCN3BMtn9UaDiBOAdzGP3lJqEos4n1hvbN920="}]},"maintainers":[{"name":"terkelg","email":"terkel@terkel.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globrex_0.0.2_1523345532346_0.3334956664530384"},"_hasShrinkwrap":false},"0.0.3":{"name":"globrex","version":"0.0.3","description":"Glob to regex","main":"src/index.js","author":{"name":"Terkel Gjervig"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/terkelg/globrex.git"},"files":["src"],"keywords":["glob","regex","regexp","parser","glob2regx","compiler"],"scripts":{"test":"tape test/*.js | tap-spec"},"devDependencies":{"tap-spec":"^4.1.1","tape":"^4.8.0"},"gitHead":"b4d53158777d7a54fb2c8f2e7f5e7a68643125ed","bugs":{"url":"https://github.com/terkelg/globrex/issues"},"homepage":"https://github.com/terkelg/globrex#readme","_id":"globrex@0.0.3","_npmVersion":"5.8.0","_nodeVersion":"9.7.1","_npmUser":{"name":"terkelg","email":"terkel@terkel.com"},"dist":{"integrity":"sha512-zyo6DRlq2pDPvarcdjGA0i046iLdGkDFy6Xcf9BbdEHqfB2k3n+sbPNh/G9yF8BIcTU+vy7YJRwDvlvNIBEPeQ==","shasum":"8b8c2ad052fccc58991381aff42fb76a876fea37","tarball":"https://registry.npmjs.org/globrex/-/globrex-0.0.3.tgz","fileCount":5,"unpackedSize":18770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3surCRA9TVsSAnZWagAAtY8P/2aVpHQpE0wR3sptSD6s\nZUsOowyXsbgXL45NVcNjlOwTyBzZBCW8Rp4TKAuEts6A1URnQaKpjzf7O+Ac\nyeA2m9StQsANZEag8wkBN0Dm+/5StH3AAlMad5/3pr2nCvN1PypVMsoTB50h\nTgVkM/GsS3dn+yuvYDk/3WTVW9TqJRb1P1KKmSg9mXs2cyJR9o6XMlx8iNAk\nUbeoaMVKni3lvqdyIfI0dICvOWLeKQN7xp+UXTMqIvXpNxZxjBZj64ec5TVf\n3YCmWLbWrfMjaRK3a5cD7bxWWQlHZU84poQrgiIS5eQJi+KWVjtSFWBZ5utn\n4IEbaGadgvV97McjJZ2VHaeIvzVFbCak/aPJNmnhD/9vrb5wXd5bpi59zr/f\n0kLrB7wssTG5a/lNQpLLhL7BvQP2WpfFiUHcmsU/FvA6kU6t/GpPqgX59QUu\nqtsTZ3MHzFOTiswnGDfbHJ5eVVqs0jdEdzwV43vIfqf7YNJYw+pS2QpA7log\nxhVgWo3VSUaiOi6gwgyGMNCQinLxj8CFXrvkj+GAjf+L5IeiJepbhrRF4fzO\ntVXHB6o3u1Bvm5dpeGWPeumi6LfPKJZk0TElqpjPfMj4LjnfzNixybZy/nd3\n3emLm+H82qm3OiEt4CqjY35LZEi2PYyPNprrq5RJ/CDvbb4kaRhpah7LKE/O\nJKF+\r\n=oNJS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKRx8MEQ3kTxNSHcXhs+y6/l6DydAsfxAyiahSPc2CjQIgULCdpHR2d8CAWC1Ma/ido1FTBzWPTFQuMYjGNhM3SfM="}]},"maintainers":[{"name":"terkelg","email":"terkel@terkel.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globrex_0.0.3_1524550570138_0.342478748347373"},"_hasShrinkwrap":false},"0.1.0":{"name":"globrex","version":"0.1.0","description":"Glob to regular expression with support for extended globs","main":"src/index.js","author":{"name":"Terkel Gjervig"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/terkelg/globrex.git"},"files":["index.js"],"keywords":["glob","regex","regexp","parser","glob2regx","compiler"],"scripts":{"test":"tape test/*.js | tap-spec"},"devDependencies":{"tap-spec":"^4.1.1","tape":"^4.8.0"},"gitHead":"6c8eb7c2aa5207b38ffdf50217d23fc6860778cc","bugs":{"url":"https://github.com/terkelg/globrex/issues"},"homepage":"https://github.com/terkelg/globrex#readme","_id":"globrex@0.1.0","_npmVersion":"5.8.0","_nodeVersion":"9.7.1","_npmUser":{"name":"terkelg","email":"terkel@terkel.com"},"dist":{"integrity":"sha512-cwCA2O19ai2J/XfV30SOuqOTIN1TyyhpAdsYycRz0YSBg1RDdefmxiO/uYVEtUmr8hjatjbArdusitz/Np16Cg==","shasum":"e3fbf2bd5774fc444664d554b5b9eb0062d4075d","tarball":"https://registry.npmjs.org/globrex/-/globrex-0.1.0.tgz","fileCount":4,"unpackedSize":14113,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+KKBCRA9TVsSAnZWagAAjHkP/RUNeVx3gvaEAFkTLxnr\nEjA8FdScQuesLAvapm+24lMLrIewsLYrRbKjFX5uqgG4F/7DtPBD+B/QTMMn\nL5p7EibgLokgbsm1c+JDBbqOghdhbWBhlnWNGQpHvpNKMSdYa/pXXOs6x0WK\nxN+HXOR60P69eTKox7yzWOYEMeBA8JPFFAQV6q+yZcbsQTOjVRTlxZTVCl5/\noXxvnrVfBzNUdbMpgv/f7Gxycv0P7LPJCE4vf6QD1R9qIYTHJB2A4WPGvLEK\nhwQAAFVmGcbap25ZH5pc/nw2eawlEOmoli4SDyS8SwN7NeUyd2ngW2cJ3O6h\njJ0DuV+qCQwr05Xr0EZGJqSBqwv4ATJrEKNWSWVdsFikZDYg0UzjgnxeJUeF\nH2XtpQ6BcU2GFUD2bE+Ab6QCJRh36GCLzypqUCj5lw7KQKqXn0kyHHUYBXcW\namiP72efhdJaQ88kS6D0xinxWTMbNvIJaYLbrz0kc/cSXd9aIcukap84VSkT\nDXHmkQGErJkITxfm9iWkpEYLrVPsgrfVw/MhPLcqe427xUbJQJUu3f7kS74u\njsBQ5jDKSp893u4c7AbYBBFVDJIxMZW9+kCyJfq7zuuuPrV149PUXLot6wqs\nzTcVvHu74fK2FMTNI0id7r7bxOhvP/ZuKwtcsX3o6knUJFKx1d8fCnbXIrFk\n+X0H\r\n=bJDI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDH56w1t9a35tUwrkhw0CZR/c2A+FwYxJ0q3RTrKdZteQIgPFt6iSqUNQzonqmrvByeij0aCQtuAUTdq2//Ug0NtsA="}]},"maintainers":[{"name":"terkelg","email":"terkel@terkel.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globrex_0.1.0_1526243968137_0.5884940245448702"},"_hasShrinkwrap":false},"0.1.1":{"name":"globrex","version":"0.1.1","description":"Glob to regular expression with support for extended globs","main":"src/index.js","author":{"name":"Terkel Gjervig"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/terkelg/globrex.git"},"files":["index.js"],"keywords":["glob","regex","regexp","parser","glob2regx","compiler"],"scripts":{"test":"tape test/*.js | tap-spec"},"devDependencies":{"tap-spec":"^4.1.1","tape":"^4.8.0"},"gitHead":"420122d95f040c47d7fee5d32ff1318d34432ed0","bugs":{"url":"https://github.com/terkelg/globrex/issues"},"homepage":"https://github.com/terkelg/globrex#readme","_id":"globrex@0.1.1","_npmVersion":"5.8.0","_nodeVersion":"9.7.1","_npmUser":{"name":"terkelg","email":"terkel@terkel.com"},"dist":{"integrity":"sha512-bqKcPhb+ZtrISivpu6oLmwIyINlPlzueO/BDCdfnzUeu7SYxnHTXmWP7uQI5PnQXc5yGXOscGBEGagloA2hcSw==","shasum":"cfe565cfa910707d0ef98eb0b9d78c3c055ca2ef","tarball":"https://registry.npmjs.org/globrex/-/globrex-0.1.1.tgz","fileCount":4,"unpackedSize":14181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+LJICRA9TVsSAnZWagAAJJAP/0o3ip8TYQkCUbMxc/1S\nHN4WY0u2SDrrdiELHehy1GEz0jOTbt7E+S+JwnOw26H1js1MlfVM0BNtuW8K\n7qjXtPnrfobw4cjoOgvIzD5+kjcOqahFTXGFfND7uhFSUvHY3S6V+lkWHdfW\nyndnZxtBEmLUXq/y8PGOlaUCJuQYgQ55BhEfth4tIawjl0XFw6/1cWuAvPTl\nLVMpXTS3oEhsKzK9btjda0/UdepIJrtNIx8up+Ly4If/AtRvqNUd9jVzwLZi\nu1RBJQURa/IDod4uCE+4Ydymm5iWUsX8wVNkgfs5IDre49Q+dHNQ3xaKYDzf\ndOglKHPRnwjmKA4oEbS0OAgFSInlQoyH4am9TlOnxbUgwA+1J2EC9W0d9Jt/\nF14ECiKjKNQG9kLENCt0CgzMz8TWxtk7CIUjS0k5meV8Mfci/JQxFiv43Hb0\nygiKhX0mu+sUDoXEvtz5E1peI+GTMwwU/BXIid6kz0XhEIxnPivQruddbP9F\nokQgy0vzQb+4lVq8qimWHaZCS+X8Ec5R456jK3Lt6KHioD5S9SQRCO8IfCJR\n82eebAcH6qTVdU+rcUIwkV8qwFURxc8ZeuIQ2Dl/kyWqsafEvB6xzSgANz9n\nrR0z1aMf5wtlD7AvkDWj/faXlGEXGBEySy3Cvus3JpCbZK9WTBAQbMRSe7vJ\nhLs5\r\n=sU0U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD58hWx2Lh6QkMa2fw2zlP7QYMZKE5NtI3A1Iyf/ZiQbgIhALNMe7qajbUlTt01n3N0ldRS55dJCXOe/dnxnCvdJ53q"}]},"maintainers":[{"name":"terkelg","email":"terkel@terkel.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globrex_0.1.1_1526248007766_0.615158373113109"},"_hasShrinkwrap":false},"0.1.2":{"name":"globrex","version":"0.1.2","description":"Glob to regular expression with support for extended globs","main":"index.js","author":{"name":"Terkel Gjervig"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/terkelg/globrex.git"},"keywords":["glob","regex","regexp","parser","glob2regx","compiler"],"scripts":{"test":"tape test/*.js | tap-spec"},"devDependencies":{"tap-spec":"^4.1.1","tape":"^4.8.0"},"gitHead":"9f6521b4a97664b2270b01de1f44a371a425e298","bugs":{"url":"https://github.com/terkelg/globrex/issues"},"homepage":"https://github.com/terkelg/globrex#readme","_id":"globrex@0.1.2","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"terkelg","email":"terkel@terkel.com"},"dist":{"integrity":"sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==","shasum":"dd5d9ec826232730cd6793a5e33a9302985e6098","tarball":"https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz","fileCount":4,"unpackedSize":14164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcFnCcCRA9TVsSAnZWagAA5EgP/AvDYBrM3rzOAJTUoLHn\nAZhgp+Jiez7lxy6gEBs/mfb53BtNaeNGrYEevoK+gNerN738+vjy/5mZJ+Bl\n6tzX2j9HNMGMzVrUanYAfoYVTOjebOuUB0W13ZCbn3Bk3ifXpJ5FoJDZ98fQ\nRWr8j0EGyExUY1tbXopMqL49lqPcpzHJRKG9UGlwcSgpwTjX6vUmxhpq8555\nZGBzALRQ7S9SR6eyUVxvIETHMzJrMIsw4AYCLBIjVs5Syo118aPN72W7cL0o\ncFrgESgphjUUz+gxsBmDQG2NOnRIXaBGaejktqlxCNtCa17CZL66Zg9LRdyC\nun73o4wNggcCkSMo41xBBLGgX97kJ65angoyGiRJ5LeDswaujHIRs/AQmqGk\n0Gt1JWluNfwoINCJm5hk0cNakiLE2Bp7Y58WIIp7r5zccoD/TjTwQc2zTtAJ\n5K8wO+gj2sCmpVM8BwJt6ROoRlFpWK2SSWtTKrpU/eSfIO9ipWoWaBDqpTDv\ndoRvZx5P2rzY0GGEkWV6tgLZ9QDZbGKpm6k2UkS5X+rm9bEyb08Qocr47BmM\nTS9/JYB+RMlUJ0SbmO2gx+fUTvZrqrVa/uNCdXd4IffvDsjdJ1ud5qTTMvxL\naYFXMg2kS7zCWF/9WFlmlHP7QwNA4oGAi/GQM3oPThnCrs224EeGtKxyL1u6\n4tyZ\r\n=VDmX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4hSvGZgTW2m6vo3pCtA0njjQ7GczRX4NPzzn/dbAp4QIgDDwd5stJluBCeFNn8wYFGnqSynGNN0PsLHr6ZhVZD+A="}]},"maintainers":[{"name":"terkelg","email":"terkel@terkel.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/globrex_0.1.2_1544974492276_0.7740345065145231"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-10T05:59:22.763Z","0.0.0":"2018-04-10T05:59:22.840Z","modified":"2022-05-03T22:26:40.596Z","0.0.1":"2018-04-10T07:22:00.146Z","0.0.2":"2018-04-10T07:32:12.426Z","0.0.3":"2018-04-24T06:16:10.217Z","0.1.0":"2018-05-13T20:39:28.219Z","0.1.1":"2018-05-13T21:46:47.836Z","0.1.2":"2018-12-16T15:34:52.391Z"},"maintainers":[{"name":"terkelg","email":"terkel@terkel.com"}],"description":"Glob to regular expression with support for extended globs","homepage":"https://github.com/terkelg/globrex#readme","keywords":["glob","regex","regexp","parser","glob2regx","compiler"],"repository":{"type":"git","url":"git+https://github.com/terkelg/globrex.git"},"author":{"name":"Terkel Gjervig"},"bugs":{"url":"https://github.com/terkelg/globrex/issues"},"license":"MIT","readme":"<div align=\"center\">\n  <img src=\"https://github.com/terkelg/globrex/raw/master/globrex.png\" alt=\"globrex\" width=\"500\" />\n</div>\n\n<h1 align=\"center\">globrex</h1>\n\n<div align=\"center\">\n  <a href=\"https://npmjs.org/package/globrex\">\n    <img src=\"https://img.shields.io/npm/v/globrex.svg\" alt=\"version\" />\n  </a>\n  <a href=\"https://travis-ci.org/terkelg/globrex\">\n    <img src=\"https://img.shields.io/travis/terkelg/globrex.svg\" alt=\"travis\" />\n  </a>\n  <a href=\"https://ci.appveyor.com/project/terkelg/globrex\">\n    <img src=\"https://ci.appveyor.com/api/projects/status/ecbnb3whibj5iqcj?svg=true\" alt=\"appveyor\" />\n  </a>\n  <a href=\"https://npmjs.org/package/globrex\">\n    <img src=\"https://img.shields.io/npm/dm/globrex.svg\" alt=\"downloads\" />\n  </a>\n</div>\n\n<div align=\"center\">Simple but powerful glob to regular expression compiler.</div>\n\n<br />\n\n\n## Install\n\n```\nnpm install globrex --save\n```\n\n\n## Core Features\n\n- 💪 **extended globbing:** transform advance `ExtGlob` features\n- 📦 **simple**: no dependencies\n- 🛣️ **paths**: split paths into multiple `RegExp` segments\n\n\n## Usage\n\n```js\nconst globrex = require('globrex');\n\nconst result = globrex('p*uck')\n// => { regex: /^p.*uck$/, string: '^p.*uck$', segments: [ /^p.*uck$/ ] }\n\nresult.regex.test('pluck'); // true\n```\n\n\n## API\n\n### globrex(glob, options)\n\nType: `function`<br>\nReturns: `Object`\n\nTransform globs intp regular expressions.\nReturns object with the following properties:\n\n\n#### regex\n\nType: `RegExp`\n\nJavaScript `RegExp` instance.\n\n> **Note**: Read more about how to use [RegExp](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp) on MDN.\n\n\n#### path\n\nThis property only exists if the option `filepath` is true.\n\n> **Note:** `filepath` is `false` by default\n\n#### path.segments\n\nType: `Array`\n\nArray of `RegExp` instances seperated by `/`. \nThis can be usable when working with file paths or urls. \n\nExample array could be:\n```js\n[ /^foo$/, /^bar$/, /^([^\\/]*)$/, '^baz\\\\.(md|js|txt)$' ]\n```\n\n\n#### path.regex\n\nType: `RegExp`\n\nJavaScript `RegExp` instance build for testign against paths.\nThe regex have different path seperators depending on host OS.\n\n\n### glob\n\nType: `String`\n\nGlob string to transform.\n\n\n### options.extended\n\nType: `Boolean`<br>\nDefault: `false`\n\nEnable all advanced features from `extglob`.\n\nMatching so called \"extended\" globs pattern like single character matching, matching ranges of characters, group matching, etc.\n\n> **Note**: Interprets `[a-d]` as `[abcd]`. To match a literal `-`, include it as first or last character.\n\n\n### options.globstar\n\nType: `Boolean`<br>\nDefault: `false`\n\nWhen globstar is `false` globs like `'/foo/*'` are transformed to the following\n`'^\\/foo\\/.*$'` which will match any string beginning with `'/foo/'`.\n\nWhen the globstar option is `true`, the same `'/foo/*'` glob is transformed to\n`'^\\/foo\\/[^/]*$'` which will match any string beginning with `'/foo/'` that **does not have** a `'/'` to the right of it. `'/foo/*'` will match: `'/foo/bar'`, `'/foo/bar.txt'` but not `'/foo/bar/baz'` or `'/foo/bar/baz.txt'`.\n\n> **Note**: When globstar is `true`, `'/foo/**'` is equivelant to `'/foo/*'` when globstar is `false`.\n\n\n### options.strict\n\nType: `Boolean`<br>\nDefault: `false`\n\nBe forgiving about mutiple slashes, like `///` and make everything after the first `/` optional. This is how bash glob works.\n\n\n### options.flags\n\nType: `String`<br>\nDefault: `''`\n\nRegExp flags (e.g. `'i'` ) to pass to the RegExp constructor.\n\n\n### options.filepath\n\nType: `Boolean`<br>\nDefault: `false`\n\nParse input strings as it was a file path for special path related features. This feature only makes sense if the input is a POSIX path like `/foo/bar/hello.js` or URLs.\n\nWhen `true` the returned object will have an additional `path` object.\n\n- `segment`: Array containing a `RegExp` object for each path segment.\n- `regex`: OS specific file path `RegExp`. Path seperator used is based on the operating system.\n- `globstar`: Regex string used to test for globstars.\n\n> **Note: Please only use forward-slashes in file path glob expressions**\n> Though windows uses either `/` or `\\` as its path separator, only `/`\n> characters are used by this glob implementation.  You must use\n> forward-slashes **only** in glob expressions. Back-slashes will always\n> be interpreted as escape characters, not path separators.\n\n\n## References\n\nLearn more about advanced globbing here\n- [mywiki.wooledge.org/glob](http://mywiki.wooledge.org/glob)\n- [linuxjournal](http://www.linuxjournal.com/content/bash-extended-globbing)\n\n\n## License\n\nMIT © [Terkel Gjervig](https://terkel.com)\n","readmeFilename":"readme.md"}