Article View: es.comp.os.linux.programacion
Article #515Re: Ayuda con expresiones regulares
From: gamo
Date: Fri, 13 Apr 2007 14:18
Date: Fri, 13 Apr 2007 14:18
24 lines
1849 bytes
1849 bytes
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1059311625-1176473880=:20123 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 13 Apr 2007, Gonzalo P=E9rez de Olaguer C=F3rdoba wrote: Hola=20 Tanto esto: > > $string ~=3D /(\S*)(\s*)/;#todo en blanco ok como esto: >=20 > mejor /^(\S*)(\s*)$/ >=20 se cumple siempre, para cualquier cadena. Adem=E1s de ser glotones, los * inducen a muchos errores. Saludos cordiales --8323328-1059311625-1176473880=:20123--
Technical Details
Message-ID:
<Pine.LNX.4.64.0704131613140.20123@jvz.es>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.rediris.es!newsfeed.uniovi.es!newsfeed.telecable.es!cm-83-97-181-149.telecable.es!amoReferences:
<fA7Rh.3556107$D7.6476545@telenews.teleline.es> <Pine.LNX.4.64.0704071129260.16935@jvz.es> <VA.00000b9c.0184af7a@agujero-negro.escomposlinux.org> <20070413004801.64ab0001@petres.salonet.snet>Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,dd1337191e711daf X-Google-Attributes: gidf86c8,public X-Google-Language: SPANISH,ASCII Newsgroups: es.comp.os.linux.programacion Date: Fri, 13 Apr 2007 16:18:00 +0200 From: gamo <gamo@telecable.es> X-X-Sender: amo@jvz.es Reply-To: gamo@telecable.es Subject: Re: Ayuda con expresiones regulares In-Reply-To: <20070413004801.64ab0001@petres.salonet.snet> Message-ID: <Pine.LNX.4.64.0704131613140.20123@jvz.es> References: <fA7Rh.3556107$D7.6476545@telenews.teleline.es> <Pine.LNX.4.64.0704071129260.16935@jvz.es> <VA.00000b9c.0184af7a@agujero-negro.escomposlinux.org> <20070413004801.64ab0001@petres.salonet.snet> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1059311625-1176473880=:20123" NNTP-Posting-Host: 83.97.181.149 X-Trace: filemon2.isp.telecable.es 1176473708 83.97.181.149 (13 Apr 2007 16:15:08 +0200) Organization: TeleCable, S.A.U. Lines: 24 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.rediris.es!newsfeed.uniovi.es!newsfeed.telecable.es!cm-83-97-181-149.telecable.es!amo