ir
issue-regex
npm i issue-regex
ir

issue-regex

Regular expression for matching issue references

by Sindre Sorhus

4.0.0 (see all)License:MITTypeScript:DefinitelyTypedCategories:Node.js Regular Expression
npm i issue-regex
Readme

issue-regex

Regular expression for matching issue references

Install

$ npm install issue-regex

Usage

import issueRegex from 'issue-regex';

'Fixes #143 and avajs/ava#1023'.match(issueRegex());
//=> ['#143', 'avajs/ava#1023']

API

issueRegex()

Returns a RegExp for matching issue references.

Downloads/wk

112K

GitHub Stars

42

LAST COMMIT

2mos ago

MAINTAINERS

1

CONTRIBUTORS

5

OPEN ISSUES

1

OPEN PRs

0
VersionTagPublished
4.0.0
latest
9mos ago
No tutorials found
Add a tutorial