🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #835

Re: Expresion Regular

#835
From: Luis León Cárdenas Graide
Date: Fri, 31 Aug 2007 22:53
33 lines
2030 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Jue 30 Ago 2007 15:30 escuch� un rumor en chile.comp.programacion donde
Pintamono dijo:

> Como ser�a la expresion regular para que solo acepte P o C o numeros
> decimales? nunca aceptar las tres
> Tengo eso
> 
> [P|C]|[-+]?[0-9]*\.?[0-9]*
> 
> pero no me convence, quien sabe bien del tema?


Te ayudar'ia, pero no logro entender claramente qu'e patr'on necesitas. Postea
unos ejemplos que s'i quieres aceptar y otros que no quieras aceptar.
Mientras m'as, mejor.

Saludos.

- -- 
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)

iD8DBQFG2Jv469jb0y7OWCkRAhqsAJkBx8F8f6ORz+3BhGb+UQ5J2fEVVACcCA+f
eHn6n0nDWECiQ9QPha6mLfg=
=X/g1
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <fba65o$90n$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-mail
References: <7a0a436159ac0812a07546aff76ceec7$1@usenet.no-ip.com>

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: Fri, 31 Aug 2007 18:53:39 -0400
Organization: DCC - Universidad de Chile
Lines: 33
Message-ID: <fba65o$90n$1@helcaraxe.dcc.uchile.cl>
References: <7a0a436159ac0812a07546aff76ceec7$1@usenet.no-ip.com>
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 1188600824 9239 192.80.24.6 (31 Aug 2007 22:53:44 GMT)
X-Complaints-To: newsmaster@dcc.uchile.cl
NNTP-Posting-Date: Fri, 31 Aug 2007 22:53:44 +0000 (UTC)