Skip to content

Commit 9c61fcb

Browse files
author
Michael Vasseur
committed
Fixup for syntax error
1 parent d6f20c2 commit 9c61fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

judge/judgedaemon.main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ function fetch_executable_internal(
488488
}
489489

490490
$shortoptions = "dv:n:hVe:j:t:";
491-
$regex = "^([a-zA-Z0-9]:{0,2})*$"
491+
$regex = "/^([a-zA-Z0-9]:{0,2})*$/";
492492
if (preg_match($regex, $shortoptions) !== 1) {
493493
echo "Error: short options format specified is invalid.\n";
494494
}

0 commit comments

Comments
 (0)