Skip to content

Commit 50f3957

Browse files
committed
:chore: Anchoring regex pattern for stricter validation (#2321)
1 parent f95ade8 commit 50f3957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/utils/contest_table_provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export class TDPCProvider extends ContestTableProviderBase {
273273
}
274274
}
275275

276-
const regexForJoiFirstQualRound = /^(joi)(\d{4})(yo1)(a|b|c)/i;
276+
const regexForJoiFirstQualRound = /^(joi)(\d{4})(yo1)(a|b|c)$/i;
277277

278278
export class JOIFirstQualRoundProvider extends ContestTableProviderBase {
279279
protected setFilterCondition(): (taskResult: TaskResult) => boolean {

0 commit comments

Comments
 (0)