Commit d1aa1f1c authored by Skia's avatar Skia
Browse files

Patch UV format

parent 6eb2953f
......@@ -160,7 +160,7 @@ function check_semester_format(&$value){
function check_uv_format(&$value){
$value = strtoupper($value);
return preg_match('/^[A-Z]{2}[0-9]{1}[0-9A-Z]{1}$/', $value);
return preg_match('/^[A-Z0-9]{2,4}$/', $value);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment