From 0b7153a0b2a86f6ff71256b4eac7434d6c5bf1bd Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sat, 30 Apr 2005 22:24:58 +0000 Subject: [PATCH] =?utf8?q?Se=20hace=20m=C3=A1s=20flexible=20el=20chequeo?= =?utf8?q?=20del=20subject.=20Ahora=20acepta=20m=C3=A1s=20rangos=20de=20ej?= =?utf8?q?ercicio.entrega.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/sc_fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sc_fetch b/src/sc_fetch index e4e6021..aea08d4 100755 --- a/src/sc_fetch +++ b/src/sc_fetch @@ -186,7 +186,7 @@ EOT; 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; -- 2.43.0