🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #12695

Re: Expresiones regulares

#12695
From: Ignacio Arenaza
Date: Sun, 27 May 2001 23:08
32 lines
2037 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Ricardo" == Ricardo Palomares Mart�nez <rpm_00@eresmas.com> writes:

    Ricardo> texto. Entonces hago:

    Ricardo> $ grep "^References:.{200,}" msg_prb.txt

    Ricardo> y no me devuelve nada. En cambio, si hago:

grep solo soporta un cojunto reducido de operadores de expresiones
regulares. Concretamente no soporta los cuantificadores + y {} (entre
otras cosas) por lo que lo anterior no funcionara jamas.

Si haces lo mismo con egrep te funcionara sin problemas (pero a cambio
egrep es algo mas lento que greo).

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.4 (GNU/Linux)
Comment: Processed by Mailcrypt and GPG

iD8DBQE7EYjpZXLnGT1HLgcRAv4IAJ9+BAB+lf+BtGK6ieVzfxj9+Apt9gCgjQWD
BK9DjN8PvAuDrWQXKp/0Rlw=
=bIky
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <871ypas846.fsf@eb2ebu.ampr.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!44.133.1.30!nobody
References: <3B1169D4.AE6E5811@eresmas.com>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,7fa35136a0f62d78
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-05-28 11:56:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!44.133.1.30!nobody
From: Ignacio Arenaza <iarenaza@eb2ebu.ampr.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Expresiones regulares
Date: 28 May 2001 01:08:25 +0200
Organization: Servidor NNTP de eb2ebu.ampr.org
Lines: 32
Message-ID: <871ypas846.fsf@eb2ebu.ampr.org>
References: <3B1169D4.AE6E5811@eresmas.com>
NNTP-Posting-Host: 62-36-89-22.dialup.uni2.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: m2newsreader01.wanadoo.es 991075593 14179 62.36.89.22 (28 May 2001 18:46:33 GMT)
X-Complaints-To: usenet@wanadoo.es
NNTP-Posting-Date: Mon, 28 May 2001 18:46:33 +0000 (UTC)
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7