πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #829

Expresion Regular

#829
From: Pintamono
Date: Thu, 30 Aug 2007 19:30
9 lines
1074 bytes
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?

Gracias.
Technical Details
Message-ID: <7a0a436159ac0812a07546aff76ceec7$1@usenet.no-ip.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,3082bf6267426105,start
X-Google-Attributes: gid1593cb,public,usenet
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail
From: pintamono@NoMandeWeas.kk (Pintamono)
Newsgroups: chile.comp.programacion
Subject: Expresion Regular
Date: Thu, 30 Aug 2007 15:30:07 -0400
Organization: Usenet Chile.* http://usenet.no-ip.com
Lines: 10
Message-ID: <7a0a436159ac0812a07546aff76ceec7$1@usenet.no-ip.com>
NNTP-Posting-Host: pc-146-86-104-200.cm.vtr.net
Mime-Version: 1.0
X-Trace: news.nivel5.cl 1188502197 7711 200.104.86.146 (30 Aug 2007 19:29:57 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Thu, 30 Aug 2007 19:29:57 +0000 (UTC)
User-Agent: NewsPortal/0.3X RCL MOD
X-Abuse: robertocl@gmail.com
X-HTTP-Posting-Host: 200.27.140.110