Article View: es.comp.os.linux.programacion
Article #10231Re: Problema con expresion regular
From: Ignacio Arenaza
Date: Thu, 14 Mar 2002 23:38
Date: Thu, 14 Mar 2002 23:38
28 lines
1930 bytes
1930 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "David" == David Espada <david@lorien.net> writes:
>> Y quiero que eliminar las lineas que comienzen por 'cam',
>> utilizando para ello una expresi�n regular.
David> ^cam.*
Notese que en este caso ^cam y ^cam.* son estrictamente equivalentes
(en cuanto a las cadenas que concuerdan) pero la segunda produce mayor
cantidad de procesamiento..
Saludos. I�aki.
- --
Get PGP/GPG Keys at http://www.escomposlinux.org/iarenaza/pgpkey.html
I use free software / Yo uso software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt and GPG
iD8DBQE8kTSBZXLnGT1HLgcRAppRAJ9UdF64za4lyEMGB65fUyuUqZpajACglrmn
NIsOUeCJtUuKejhOn9jLrsU=
=HnbZ
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<87bsdqoh31.fsf@eb2ebu.ampr.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!eb2ebu.ampr.org!not-for-mailReferences:
<393aced8.0203140922.530f6024@posting.google.com> <slrna9210t.ml.david@lorien.net>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,b845849e8faa8794 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-03-16 02:11:03 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!eb2ebu.ampr.org!not-for-mail From: Ignacio Arenaza <iarenaza@eb2ebu.ampr.org> Newsgroups: es.comp.os.linux.programacion Subject: Re: Problema con expresion regular Date: 15 Mar 2002 00:38:42 +0100 Organization: Servidor NNTP de eb2ebu.ampr.org Lines: 28 Message-ID: <87bsdqoh31.fsf@eb2ebu.ampr.org> References: <393aced8.0203140922.530f6024@posting.google.com> <slrna9210t.ml.david@lorien.net> NNTP-Posting-Host: 62-37-116-172.dialup.uni2.es Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.wanadoo.es 1016273239 3229 62.37.116.172 (16 Mar 2002 10:07:19 GMT) X-Complaints-To: usenet@wanadoo.es NNTP-Posting-Date: Sat, 16 Mar 2002 10:07:19 +0000 (UTC) User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7