Skip to content

Commit 19c9c7e

Browse files
committed
fix: Keep ATC label parsing and classification in sync (#3239)
1 parent a818766 commit 19c9c7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/utils/contest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ export function getContestPriority(contestId: string): number {
324324
* - "atc1234"
325325
* - "awc12345"
326326
*/
327-
const regexForAxc = /^(abc|arc|agc|atc)(\d{3})/i;
328-
const regexForAwc = /^(awc)(\d{4})/i;
327+
const regexForAxc = /^(abc|arc|agc|atc)(\d{3})$/i;
328+
const regexForAwc = /^(awc)(\d{4})$/i;
329329

330330
/**
331331
* Regular expression to match AtCoder University contest identifiers.

0 commit comments

Comments
 (0)