Article View: chile.comp.programacion
Article #841Re: Expresion Regular
From: Luis León Cárdenas Graide
Date: Tue, 04 Sep 2007 02:59
Date: Tue, 04 Sep 2007 02:59
43 lines
2295 bytes
2295 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Vie 31 Ago 2007 21:37 escuch� un rumor en chile.comp.programacion donde Pintamono dijo: > Gracias... > > el tema es el siguiente... > > Es un conjunto de notas.. > > Cuando un alumno no tiene nota se le coloca P de pendiente > cuando la nota es de un curso similar se le coloca C de convalidado > y lo de los decimales es por la nota 5.5 por ejemplo... > > entonces yo quiero validar que no se ingrese una f o una a o cualquier otra > letra que no sea p/c, o mismo para los decimales... > > Eso es.. > > Gracias. > > Por cierto, esta expresion [PC]|[-+]?[0-9]*\.?[0-9]* en viada por Pablo > Jimenez parece ser la correcta... Y qu� tal: [PC]|[0-9](\.[0-9])? - -- Luis Le�n C�rdenas Graide - http://www.linkedin.com/in/luiscardenasgraide PGP FingerPrint: 437E 48AB 0093 62AC 07DA F016 EBD8 DBD3 2ECE 5829 Linux User #415.072 - http://counter.li.org liberaciondigital.org: Ciudadanos de frente a las pol�ticas tecnol�gicas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG3Mou69jb0y7OWCkRAgs/AJ90uZIfxhP2p9wkKtB+jWgPxkgpUwCgp7Ni 5vxSpnDA9/FrfYhJzgXo/Zk= =J8xr -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<fbihnf$l1c$1@helcaraxe.dcc.uchile.cl>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news.cec.uchile.cl!helcaraxe.dcc.uchile.cl!not-for-mailReferences:
<7a0a436159ac0812a07546aff76ceec7$1@usenet.no-ip.com> <fba65o$90n$1@helcaraxe.dcc.uchile.cl> <fbafnp$pcr$1@aioe.org>Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,3082bf6267426105 X-Google-Attributes: gid1593cb,public,usenet X-Google-Language: SPANISH,ASCII Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news.cec.uchile.cl!helcaraxe.dcc.uchile.cl!not-for-mail From: Luis León Cárdenas Graide <lucho.SIN.ESTO.stein@gmEil.com> Newsgroups: chile.comp.programacion Subject: Re: Expresion Regular Date: Mon, 03 Sep 2007 22:59:54 -0400 Organization: DCC - Universidad de Chile Lines: 43 Message-ID: <fbihnf$l1c$1@helcaraxe.dcc.uchile.cl> References: <7a0a436159ac0812a07546aff76ceec7$1@usenet.no-ip.com> <fba65o$90n$1@helcaraxe.dcc.uchile.cl> <fbafnp$pcr$1@aioe.org> Reply-To: lucho.SIN.ESTO.stein@gmEil.com NNTP-Posting-Host: anakena.dcc.uchile.cl Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit X-Trace: helcaraxe.dcc.uchile.cl 1188874799 21548 192.80.24.6 (4 Sep 2007 02:59:59 GMT) X-Complaints-To: newsmaster@dcc.uchile.cl NNTP-Posting-Date: Tue, 4 Sep 2007 02:59:59 +0000 (UTC)