{"id":21214774,"url":"https://github.com/regexhq/punctuation-regex","last_synced_at":"2025-07-10T10:30:33.828Z","repository":{"id":65371523,"uuid":"78024283","full_name":"regexhq/punctuation-regex","owner":"regexhq","description":"Regular expression for matching punctuation characters.","archived":false,"fork":false,"pushed_at":"2017-07-01T21:35:01.000Z","size":8,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-07T12:20:52.351Z","etag":null,"topics":["punctuation","punctuation-character","regex","regular-expression"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/regexhq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-04T14:48:03.000Z","updated_at":"2024-01-09T10:25:45.000Z","dependencies_parsed_at":"2023-01-19T22:45:18.571Z","dependency_job_id":null,"html_url":"https://github.com/regexhq/punctuation-regex","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regexhq%2Fpunctuation-regex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regexhq%2Fpunctuation-regex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regexhq%2Fpunctuation-regex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regexhq%2Fpunctuation-regex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regexhq","download_url":"https://codeload.github.com/regexhq/punctuation-regex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225632702,"owners_count":17499844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["punctuation","punctuation-character","regex","regular-expression"],"created_at":"2024-11-20T21:30:42.205Z","updated_at":"2024-11-20T21:30:42.840Z","avatar_url":"https://github.com/regexhq.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# punctuation-regex [![NPM version](https://img.shields.io/npm/v/punctuation-regex.svg?style=flat)](https://www.npmjs.com/package/punctuation-regex) [![NPM monthly downloads](https://img.shields.io/npm/dm/punctuation-regex.svg?style=flat)](https://npmjs.org/package/punctuation-regex)  [![NPM total downloads](https://img.shields.io/npm/dt/punctuation-regex.svg?style=flat)](https://npmjs.org/package/punctuation-regex) [![Linux Build Status](https://img.shields.io/travis/regexhq/punctuation-regex.svg?style=flat\u0026label=Travis)](https://travis-ci.org/regexhq/punctuation-regex)\n\n\u003e Regular expression for matching punctuation characters.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save punctuation-regex\n```\n\nSee the [wikipedia punctuation](https://en.wikipedia.org/wiki/Punctuation) article for more details.\n\n## Usage\n\n```js\nvar punctuation = require('punctuation-regex');\n\n// the main export is a function that must be called\nconsole.log(punctuation().test('!'));\n//=\u003e true\n```\n\nPass `true` to get a regex for matching the additional \"supplemental\" characters mentioned in the wikipedia article.\n\n```js\nconsole.log(punctuation(true).test('‘'));\n//=\u003e true\n```\n\n## About\n\n### Related projects\n\n* [is-punctuation](https://www.npmjs.com/package/is-punctuation): Returns true if the given string is punctuation characters. | [homepage](https://github.com/jonschlinkert/is-punctuation \"Returns true if the given string is punctuation characters.\")\n* [path-root-regex](https://www.npmjs.com/package/path-root-regex): Regular expression for getting the root of a posix or windows filepath. | [homepage](https://github.com/regexhq/path-root-regex \"Regular expression for getting the root of a posix or windows filepath.\")\n* [whitespace-regex](https://www.npmjs.com/package/whitespace-regex): Regular expression for matching the whitespace in a string. | [homepage](https://github.com/regexps/whitespace-regex \"Regular expression for matching the whitespace in a string.\")\n* [word-regex](https://www.npmjs.com/package/word-regex): Regular expression for matching words in a string. Support for english, CJK and Cyrillic. | [homepage](https://github.com/regexps/word-regex \"Regular expression for matching words in a string. Support for english, CJK and Cyrillic.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\nPlease read the [contributing guide](.github/contributing.md) for avice on opening issues, pull requests, and coding standards.\n\n### Building docs\n\n_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme \u0026\u0026 verb\n```\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d \u0026\u0026 npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://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.2.3, on January 04, 2017._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregexhq%2Fpunctuation-regex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregexhq%2Fpunctuation-regex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregexhq%2Fpunctuation-regex/lists"}