🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Expresiones regulares (II)

#9182
From: Miguel Angel
Date: Sat, 24 Aug 2002 09:07
21 lines
1718 bytes
Perd�n por los anteriores mensajes,es q intentando cerrar otra ventana,
y ha ocurrido ese desastre (XDD).

Necesito usar una expresi�n regular para clasificar los elementos de una
p�gina web. Entonces, para obtener las tablas, utilizo la siguiente
expresi�n:
<table>.*</table>

Bien esto funciona si hay una �nica tabla, pero si hay m�s de una esto
es lo que ocurre:

<table>uno</table>balbla bla<table>dos</table>

En este caso la expr regular me casa desde el primer <table> del texto
hasta el �ltimo </table> del texto.

�Como puedo filtrar cada uno de los <table>..</table> del texto??

Lo que m�s me fastidia es que seguro que es una chorrada.

Saludos.
Technical Details
Message-ID: <3D66CF2D.6040907@yahoo.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!kleenex.wirehub.nl!newsf01.ono.com!news.ono.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,89fc7e4845da3e67,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-08-24 02:07:16 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!kleenex.wirehub.nl!newsf01.ono.com!news.ono.com.POSTED!not-for-mail
Message-ID: <3D66CF2D.6040907@yahoo.es>
From: Miguel Angel <rocho08@yahoo.es>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
Newsgroups: es.comp.os.linux.programacion
Subject: Expresiones regulares (II)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 22
Date: Sat, 24 Aug 2002 09:07:16 GMT
NNTP-Posting-Host: 62.42.11.208
X-Complaints-To: abuse@ono.com
X-Trace: news.ono.com 1030180036 62.42.11.208 (Sat, 24 Aug 2002 11:07:16 MET DST)
NNTP-Posting-Date: Sat, 24 Aug 2002 11:07:16 MET DST