sindresorhus

comment-regex

Regular expression for matching JavaScript comments

by sindresorhus

JavaScript

JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
blakeembrey

Currently the single line comment needs to be at the beginning or be preceded with whitespace to work. This is not a requirement for actual single line comments (does not need whitespace before it).

blakeembrey · 11y ago
Structured data for AI agents

Repository: sindresorhus/comment-regex. Description: Regular expression for matching JavaScript comments Stars: 32, Forks: 2. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v2.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 1y ago. Community health: 71%. Top contributors: sindresorhus, Richienb.