Skip to content

Commit 0d73c91

Browse files
committed
:chore: Fix regex (#2590)
1 parent a48c7d6 commit 0d73c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/utils/contest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ const regexForAxc = /^(abc|arc|agc)(\d{3})/i;
309309
* - "ttpc2022"
310310
* - "tupc2023"
311311
*/
312-
const regexForAtCoderUniversity = /^(ku|qu|ut|tt|tu)(pc)(\d{4})/i;
312+
const regexForAtCoderUniversity = /^(ku|qu|ut|tt|tu)(pc)(\d{4})$/i;
313313

314314
export const getContestNameLabel = (contestId: string) => {
315315
// AtCoder

0 commit comments

Comments
 (0)