function validar_cabecera($hdr) {
// Subject: padron nro_ej nro_entrega clave_alumno
$subject = decode_header($hdr->subject);
- if (preg_match('/^\s*(\d{5})\s+([1-4])\.([12])\s+(.*)$/', $subject, $m)) {
+ if (preg_match('/^\s*(\d{5})\s+(\d)\.(\d)\s+(.*)$/', $subject, $m)) {
return array_slice($m, 1, 5);
}
return false;