MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / extractPRNumber

Function extractPRNumber

scripts/generate-changelog.ts:258–261  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

256// ============================================================================
257
258function extractPRNumber(line: string): string | null {
259 const match = line.match(/#(\d+)/);
260 return match?.[1] ?? null;
261}
262
263function extractSortKey(line: string): string {
264 return line

Callers 2

createEntryFunction · 0.85
runFunction · 0.85

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected