| 1 |
{ |
| 2 |
"_id": "posix-character-classes", |
| 3 |
"_rev": "3-f8c7cc7ef8acfc41a109416024a82541", |
| 4 |
"name": "posix-character-classes", |
| 5 |
"description": "POSIX character classes for creating regular expressions.", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "1.0.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.1.0": { |
| 11 |
"name": "posix-character-classes", |
| 12 |
"description": "POSIX character classes for creating regular expressions.", |
| 13 |
"version": "0.1.0", |
| 14 |
"homepage": "https://github.com/jonschlinkert/posix-character-classes", |
| 15 |
"author": { |
| 16 |
"name": "Jon Schlinkert", |
| 17 |
"url": "https://github.com/jonschlinkert" |
| 18 |
}, |
| 19 |
"repository": { |
| 20 |
"type": "git", |
| 21 |
"url": "git+https://github.com/jonschlinkert/posix-character-classes.git" |
| 22 |
}, |
| 23 |
"bugs": { |
| 24 |
"url": "https://github.com/jonschlinkert/posix-character-classes/issues" |
| 25 |
}, |
| 26 |
"license": "MIT", |
| 27 |
"files": [ |
| 28 |
"index.js" |
| 29 |
], |
| 30 |
"main": "index.js", |
| 31 |
"engines": { |
| 32 |
"node": ">=0.10.0" |
| 33 |
}, |
| 34 |
"scripts": { |
| 35 |
"test": "mocha" |
| 36 |
}, |
| 37 |
"devDependencies": { |
| 38 |
"gulp-format-md": "^0.1.11" |
| 39 |
}, |
| 40 |
"keywords": [ |
| 41 |
"character", |
| 42 |
"classes", |
| 43 |
"posix" |
| 44 |
], |
| 45 |
"verb": { |
| 46 |
"toc": false, |
| 47 |
"layout": "default", |
| 48 |
"tasks": [ |
| 49 |
"readme" |
| 50 |
], |
| 51 |
"plugins": [ |
| 52 |
"gulp-format-md" |
| 53 |
], |
| 54 |
"lint": { |
| 55 |
"reflinks": true |
| 56 |
}, |
| 57 |
"related": { |
| 58 |
"list": [] |
| 59 |
}, |
| 60 |
"reflinks": [ |
| 61 |
"verb", |
| 62 |
"verb-generate-readme" |
| 63 |
] |
| 64 |
}, |
| 65 |
"gitHead": "282c377615b62cce69c57d4153c8b0adbf326880", |
| 66 |
"_id": "[email protected]", |
| 67 |
"_shasum": "a6c4c72c5a7a494d94d56267f368e3b8978bcc6b", |
| 68 |
"_from": ".", |
| 69 |
"_npmVersion": "3.10.3", |
| 70 |
"_nodeVersion": "6.3.0", |
| 71 |
"_npmUser": { |
| 72 |
"name": "jonschlinkert", |
| 73 |
"email": "[email protected]" |
| 74 |
}, |
| 75 |
"maintainers": [ |
| 76 |
{ |
| 77 |
"name": "jonschlinkert", |
| 78 |
"email": "[email protected]" |
| 79 |
} |
| 80 |
], |
| 81 |
"dist": { |
| 82 |
"shasum": "a6c4c72c5a7a494d94d56267f368e3b8978bcc6b", |
| 83 |
"tarball": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.0.tgz" |
| 84 |
}, |
| 85 |
"_npmOperationalInternal": { |
| 86 |
"host": "packages-12-west.internal.npmjs.com", |
| 87 |
"tmp": "tmp/posix-character-classes-0.1.0.tgz_1474958178067_0.18115027388557792" |
| 88 |
}, |
| 89 |
"directories": {} |
| 90 |
}, |
| 91 |
"0.1.1": { |
| 92 |
"name": "posix-character-classes", |
| 93 |
"description": "POSIX character classes for creating regular expressions.", |
| 94 |
"version": "0.1.1", |
| 95 |
"homepage": "https://github.com/jonschlinkert/posix-character-classes", |
| 96 |
"author": { |
| 97 |
"name": "Jon Schlinkert", |
| 98 |
"url": "https://github.com/jonschlinkert" |
| 99 |
}, |
| 100 |
"repository": { |
| 101 |
"type": "git", |
| 102 |
"url": "git+https://github.com/jonschlinkert/posix-character-classes.git" |
| 103 |
}, |
| 104 |
"bugs": { |
| 105 |
"url": "https://github.com/jonschlinkert/posix-character-classes/issues" |
| 106 |
}, |
| 107 |
"license": "MIT", |
| 108 |
"files": [ |
| 109 |
"index.js" |
| 110 |
], |
| 111 |
"main": "index.js", |
| 112 |
"engines": { |
| 113 |
"node": ">=0.10.0" |
| 114 |
}, |
| 115 |
"scripts": { |
| 116 |
"test": "mocha" |
| 117 |
}, |
| 118 |
"devDependencies": { |
| 119 |
"gulp-format-md": "^0.1.12", |
| 120 |
"mocha": "^3.2.0" |
| 121 |
}, |
| 122 |
"keywords": [ |
| 123 |
"character", |
| 124 |
"classes", |
| 125 |
"posix" |
| 126 |
], |
| 127 |
"verb": { |
| 128 |
"toc": false, |
| 129 |
"layout": "default", |
| 130 |
"tasks": [ |
| 131 |
"readme" |
| 132 |
], |
| 133 |
"plugins": [ |
| 134 |
"gulp-format-md" |
| 135 |
], |
| 136 |
"reflinks": [ |
| 137 |
"verb", |
| 138 |
"verb-generate-readme" |
| 139 |
], |
| 140 |
"lint": { |
| 141 |
"reflinks": true |
| 142 |
}, |
| 143 |
"related-list": [ |
| 144 |
"micromatch", |
| 145 |
"nanomatch", |
| 146 |
"extglob", |
| 147 |
"expand-brackets" |
| 148 |
] |
| 149 |
}, |
| 150 |
"gitHead": "93acda996350d0b1571592765e45c31da9376aa7", |
| 151 |
"_id": "[email protected]", |
| 152 |
"_shasum": "01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab", |
| 153 |
"_from": ".", |
| 154 |
"_npmVersion": "4.2.0", |
| 155 |
"_nodeVersion": "7.7.3", |
| 156 |
"_npmUser": { |
| 157 |
"name": "jonschlinkert", |
| 158 |
"email": "[email protected]" |
| 159 |
}, |
| 160 |
"maintainers": [ |
| 161 |
{ |
| 162 |
"name": "jonschlinkert", |
| 163 |
"email": "[email protected]" |
| 164 |
} |
| 165 |
], |
| 166 |
"dist": { |
| 167 |
"shasum": "01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab", |
| 168 |
"tarball": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz" |
| 169 |
}, |
| 170 |
"_npmOperationalInternal": { |
| 171 |
"host": "packages-18-east.internal.npmjs.com", |
| 172 |
"tmp": "tmp/posix-character-classes-0.1.1.tgz_1492663375848_0.9031167267821729" |
| 173 |
}, |
| 174 |
"directories": {} |
| 175 |
}, |
| 176 |
"1.0.0": { |
| 177 |
"name": "posix-character-classes", |
| 178 |
"description": "POSIX character classes for creating regular expressions.", |
| 179 |
"version": "1.0.0", |
| 180 |
"homepage": "https://github.com/jonschlinkert/posix-character-classes", |
| 181 |
"author": { |
| 182 |
"name": "Jon Schlinkert", |
| 183 |
"url": "https://github.com/jonschlinkert" |
| 184 |
}, |
| 185 |
"repository": { |
| 186 |
"type": "git", |
| 187 |
"url": "git+https://github.com/jonschlinkert/posix-character-classes.git" |
| 188 |
}, |
| 189 |
"bugs": { |
| 190 |
"url": "https://github.com/jonschlinkert/posix-character-classes/issues" |
| 191 |
}, |
| 192 |
"license": "MIT", |
| 193 |
"files": [ |
| 194 |
"index.js" |
| 195 |
], |
| 196 |
"main": "index.js", |
| 197 |
"engines": { |
| 198 |
"node": ">=0.10.0" |
| 199 |
}, |
| 200 |
"scripts": { |
| 201 |
"test": "mocha" |
| 202 |
}, |
| 203 |
"devDependencies": { |
| 204 |
"gulp-format-md": "^0.1.12", |
| 205 |
"mocha": "^3.2.0" |
| 206 |
}, |
| 207 |
"keywords": [ |
| 208 |
"character", |
| 209 |
"classes", |
| 210 |
"posix" |
| 211 |
], |
| 212 |
"verb": { |
| 213 |
"toc": false, |
| 214 |
"layout": "default", |
| 215 |
"tasks": [ |
| 216 |
"readme" |
| 217 |
], |
| 218 |
"plugins": [ |
| 219 |
"gulp-format-md" |
| 220 |
], |
| 221 |
"reflinks": [ |
| 222 |
"verb", |
| 223 |
"verb-generate-readme" |
| 224 |
], |
| 225 |
"lint": { |
| 226 |
"reflinks": true |
| 227 |
}, |
| 228 |
"related-list": [ |
| 229 |
"micromatch", |
| 230 |
"nanomatch", |
| 231 |
"extglob", |
| 232 |
"expand-brackets" |
| 233 |
] |
| 234 |
}, |
| 235 |
"gitHead": "93acda996350d0b1571592765e45c31da9376aa7", |
| 236 |
"_id": "[email protected]", |
| 237 |
"_shasum": "86917ab2d252f7ea78e157bf009b9b6ea35c6cad", |
| 238 |
"_from": ".", |
| 239 |
"_npmVersion": "4.2.0", |
| 240 |
"_nodeVersion": "7.7.3", |
| 241 |
"_npmUser": { |
| 242 |
"name": "jonschlinkert", |
| 243 |
"email": "[email protected]" |
| 244 |
}, |
| 245 |
"maintainers": [ |
| 246 |
{ |
| 247 |
"name": "jonschlinkert", |
| 248 |
"email": "[email protected]" |
| 249 |
} |
| 250 |
], |
| 251 |
"dist": { |
| 252 |
"shasum": "86917ab2d252f7ea78e157bf009b9b6ea35c6cad", |
| 253 |
"tarball": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-1.0.0.tgz" |
| 254 |
}, |
| 255 |
"_npmOperationalInternal": { |
| 256 |
"host": "packages-18-east.internal.npmjs.com", |
| 257 |
"tmp": "tmp/posix-character-classes-1.0.0.tgz_1492663392659_0.2984538341406733" |
| 258 |
}, |
| 259 |
"directories": {} |
| 260 |
} |
| 261 |
}, |
| 262 |
"readme": "# posix-character-classes [](https://www.npmjs.com/package/posix-character-classes) [](https://npmjs.org/package/posix-character-classes) [](https://npmjs.org/package/posix-character-classes) [](https://travis-ci.org/jonschlinkert/posix-character-classes)\n\n> POSIX character classes for creating regular expressions.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save posix-character-classes\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add posix-character-classes\n```\n\n## Usage\n\n```js\nvar posix = require('posix-character-classes');\nconsole.log(posix.alpha);\n//=> 'A-Za-z'\n```\n\n## POSIX Character classes\n\nThe POSIX standard supports the following classes or categories of charactersh (note that classes must be defined within brackets)<sup class=\"footnote-ref\"><a href=\"#fn1\" id=\"fnref1\">[1]</a></sup>:\n\n| **POSIX class** | **Equivalent to** | **Matches** | \n| --- | --- | --- |\n| `[:alnum:]` | `[A-Za-z0-9]` | digits, uppercase and lowercase letters |\n| `[:alpha:]` | `[A-Za-z]` | upper- and lowercase letters |\n| `[:ascii:]` | `[\\x00-\\x7F]` | ASCII characters |\n| `[:blank:]` | `[ \\t]` | space and TAB characters only |\n| `[:cntrl:]` | `[\\x00-\\x1F\\x7F]` | Control characters |\n| `[:digit:]` | `[0-9]` | digits |\n| `[:graph:]` | `[^[:cntrl:]]` | graphic characters (all characters which have graphic representation) |\n| `[:lower:]` | `[a-z]` | lowercase letters |\n| `[:print:]` | `[[:graph] ]` | graphic characters and space |\n| `[:punct:]` | ``[-!\"#$%&'()*+,./:;<=>?@[]^_`{ | }~]`` | all punctuation characters (all graphic characters except letters and digits) |\n| `[:space:]` | `[ \\t\\n\\r\\f\\v]` | all blank (whitespace) characters, including spaces, tabs, new lines, carriage returns, form feeds, and vertical tabs |\n| `[:upper:]` | `[A-Z]` | uppercase letters |\n| `[:word:]` | `[A-Za-z0-9_]` | word characters |\n| `[:xdigit:]` | `[0-9A-Fa-f]` | hexadecimal digits |\n\n## Examples\n\n* `a[[:digit:]]b` matches `a0b`, `a1b`, ..., `a9b`.\n* `a[:digit:]b` is invalid, character classes must be enclosed in brackets\n* `[[:digit:]abc]` matches any digit, as well as `a`, `b`, and `c`.\n* `[abc[:digit:]]` is the same as the previous, matching any digit, as well as `a`, `b`, and `c`\n* `[^ABZ[:lower:]]` matches any character except lowercase letters, `A`, `B`, and `Z`.\n\n## About\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.5.0, on April 20, 2017._\n\n<hr class=\"footnotes-sep\">\n<section class=\"footnotes\">\n<ol class=\"footnotes-list\">\n<li id=\"fn1\" class=\"footnote-item\">table and examples are based on the WikiBooks page for [Regular Expressions/POSIX Basic Regular Expressions](https://en.wikibooks.org/wiki/Regular_Expressions/POSIX_Basic_Regular_Expressions), which is available under the [Creative Commons Attribution-ShareAlike License](https://creativecommons.org/licenses/by-sa/3.0/). <a href=\"#fnref1\" class=\"footnote-backref\">↩</a>\n\n</li>\n</ol>\n</section>", |
| 263 |
"maintainers": [ |
| 264 |
{ |
| 265 |
"name": "jonschlinkert", |
| 266 |
"email": "[email protected]" |
| 267 |
} |
| 268 |
], |
| 269 |
"time": { |
| 270 |
"modified": "2017-04-20T04:43:13.188Z", |
| 271 |
"created": "2016-09-27T06:36:20.553Z", |
| 272 |
"0.1.0": "2016-09-27T06:36:20.553Z", |
| 273 |
"0.1.1": "2017-04-20T04:42:56.382Z", |
| 274 |
"1.0.0": "2017-04-20T04:43:13.188Z" |
| 275 |
}, |
| 276 |
"homepage": "https://github.com/jonschlinkert/posix-character-classes", |
| 277 |
"keywords": [ |
| 278 |
"character", |
| 279 |
"classes", |
| 280 |
"posix" |
| 281 |
], |
| 282 |
"repository": { |
| 283 |
"type": "git", |
| 284 |
"url": "git+https://github.com/jonschlinkert/posix-character-classes.git" |
| 285 |
}, |
| 286 |
"author": { |
| 287 |
"name": "Jon Schlinkert", |
| 288 |
"url": "https://github.com/jonschlinkert" |
| 289 |
}, |
| 290 |
"bugs": { |
| 291 |
"url": "https://github.com/jonschlinkert/posix-character-classes/issues" |
| 292 |
}, |
| 293 |
"license": "MIT", |
| 294 |
"readmeFilename": "README.md", |
| 295 |
"_attachments": {} |
| 296 |
} |