πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #840

Re: Expresion Regular

#840
From: Chano
Date: Mon, 03 Sep 2007 22:07
18 lines
1702 bytes
+mArkO+ <kitim@porta.com> escribio:
> yo no soy un experto en el tema, sin embargo a mi parecer esa expresion 
> regular aceptaria cadenas como:


> a)   .
> b) 1.
> c)  .5

> no seria mejor usar en vez del * un +, para que al menos debiera existir una 
> vez.
> [PC]|[-+]?[0-9]+\.?[0-9]+


  P|C|[1-6]\.[0-9]|7\.0

  Lo malo es que tambiΓ©n calza 6.99 o 96.9898 pero no 97.89
Technical Details
Message-ID: <fbi0ja$sbn$3@localhost.localdomain>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!195.114.231.69.MISMATCH!feeder.news-service.com!feeder.news-service.com!newsfeed.freenet.de!bolzen.all.de!fu-berlin.de!news.nivel5.cl!news.cec.uchile.cl!not-for-mail
References: <7a0a436159ac0812a07546aff76ceec7$1@usenet.no-ip.com> <fba65o$90n$1@helcaraxe.dcc.uchile.cl> <fbafnp$pcr$1@aioe.org> <fbc82h$miu$1@news.nivel5.cl>

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!eweka.nl!lightspeed.eweka.nl!195.114.231.69.MISMATCH!feeder.news-service.com!feeder.news-service.com!newsfeed.freenet.de!bolzen.all.de!fu-berlin.de!news.nivel5.cl!news.cec.uchile.cl!not-for-mail
From: Chano <chanorecords@gmail.NOSPAM.com>
Newsgroups: chile.comp.programacion
Subject: Re: Expresion Regular
Date: Mon, 3 Sep 2007 22:07:38 +0000 (UTC)
Organization: Chano Records Inc.
Lines: 18
Sender: Jose Miguel Garrido Urzua <jgarrido@cipres.cec.uchile.cl>
Distribution: world
Message-ID: <fbi0ja$sbn$3@localhost.localdomain>
References: <7a0a436159ac0812a07546aff76ceec7$1@usenet.no-ip.com> <fba65o$90n$1@helcaraxe.dcc.uchile.cl> <fbafnp$pcr$1@aioe.org> <fbc82h$miu$1@news.nivel5.cl>
NNTP-Posting-Host: cipres.cec.uchile.cl
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: localhost.localdomain 1188857258 29047 200.9.100.5 (3 Sep 2007 22:07:38 GMT)
X-Complaints-To: news@localhost.localdomain
NNTP-Posting-Date: Mon, 3 Sep 2007 22:07:38 +0000 (UTC)
X-Nick: Chano
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.8 (sun4u))