Regular Expressions 101

Community Patterns

Community Library Entry

-1

Regular Expression
ECMAScript (JavaScript)

/
https?:\/\/github\.com\/(?<owner>[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38})\/(?<repo>[a-z\d._-]{1,100})\/(issues|pull)\/(?<issueNumber>\d+)(?<issueComment>#issuecomment-(?<issueCommentNumber>\d+))?
/
gi

Description

todo

Submitted by sadespresso - a year ago