Commit fa9151e1 authored by Skia's avatar Skia

Update uv name regex to match the new TC UV names

parent 50e6b707
......@@ -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]{2}$/', $value);
return preg_match('/^[A-Z]{2}[0-9]{1}[A-Z]{1}$/', $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