🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #830

Re: Expresion Regular

#830
From: Mauricio Vergara Ereche
Date: Thu, 30 Aug 2007 20:33
14 lines
1441 bytes
Pintamono <pintamono@nomandeweas.kk> wrote:
> 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]*

Esto podr�a ser? (P|C|([0-9]*))

argh... nunca han sido mi fuerte :-P

-- 
Mauricio Vergara Ereche                 mave [@] inf [.] utfsm [.] cl
counter.li.org: #188365
Technical Details
Message-ID: <fb79jd$i3t$1@manutara.inf.utfsm.cl>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news.inf.utfsm.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.inf.utfsm.cl!not-for-mail
From: "Mauricio Vergara Ereche" <mave007NO.SPAM@inf.utfsm.cl>
Newsgroups: chile.comp.programacion
Subject: Re: Expresion Regular
Date: Thu, 30 Aug 2007 20:33:49 +0000 (UTC)
Organization: Depto. de Informatica, UTFSM.
Lines: 14
Sender: Mauricio Vergara Ereche <mave007@ssh2.inf.utfsm.cl>
Message-ID: <fb79jd$i3t$1@manutara.inf.utfsm.cl>
References: <7a0a436159ac0812a07546aff76ceec7$1@usenet.no-ip.com>
NNTP-Posting-Host: ssh2.inf.utfsm.cl
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: manutara.inf.utfsm.cl 1188506029 18557 204.87.169.5 (30 Aug 2007 20:33:49 GMT)
X-Complaints-To: newsadmin@inf.utfsm.cl
NNTP-Posting-Date: Thu, 30 Aug 2007 20:33:49 +0000 (UTC)
User-Agent: tin/1.7.9-20050629 ("Grimsay") (UNIX) (Linux/2.6.22.1-41.fc7 (i686))