Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 916 Bytes

.verb.md

File metadata and controls

57 lines (38 loc) · 916 Bytes

{%= name %} {%= badge("fury") %} {%= badge("travis") %}

{%= description %}

Install

{%= include("install-npm", {save: true}) %}

Usage

var regex = require('{%= name %}');

Examples

(Any of the following can start with todo or @todo and an optional colon)

JavaScript line comments:

var match = '// todo: foo bar baz'.match(regex());
//=> 'foo bar baz'

JavaScript block comments:

var match = '/*\n * @todo one two three\n */'.match(regex());
//=> 'one two three'

HTML comments:

var match = '<!-- todo: foo bar baz -->'.match(regex());
//=> 'foo bar baz'

Related projects

{%= related(['copyright-regex', 'dotfile-regex', 'path-regex']) %}

Running tests

{%= include("tests") %}

Contributing

{%= include("contributing") %}

Author

{%= include("author") %}

License

{%= copyright() %} {%= license() %}


{%= include("footer") %}