๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #3441

Re: Expresiones regulares en php

#3441
From: HR_cl
Date: Thu, 20 Jan 2005 04:34
20 lines
1376 bytes
Problema resuelto.
:d

"HR_cl" <hr_cl@hotmail.com> escribi๏ฟฝ en el mensaje 
news:csnapl$rsi$1@news1.nivel5.cl...
> Hola, a alguien se le ocurre porque puede estar fallando la siguiente 
> expresion en php, pero no al hacerlo en .net por ejemplo (lo testeo desde 
> regexlib.com)?
>
> $patron= "(\n|\s|)(\w+)\.(\w{2,4})(\n|\s|)";
> ereg($patron, $contenido, $dominios);
>
> La idea es encontrar los dominios dentro de $contenido.
>
>
>
>
>
>
> 
Technical Details
Message-ID: <csnccv$s6c$1@news1.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mail
References: <csnapl$rsi$1@news1.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,efdb285567bc86fd
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mail
From: "HR_cl" <hr_cl@hotmail.com>
Newsgroups: chile.comp.programacion
Subject: Re: Expresiones regulares en php
Date: Thu, 20 Jan 2005 01:34:10 -0300
Organization: Varios
Lines: 23
Message-ID: <csnccv$s6c$1@news1.nivel5.cl>
References: <csnapl$rsi$1@news1.nivel5.cl>
NNTP-Posting-Host: 200.83.248.187
X-Trace: news1.nivel5.cl 1106195679 28876 200.83.248.187 (20 Jan 2005 04:34:39 GMT)
X-Complaints-To: news@news1.nivel5.cl
NNTP-Posting-Date: Thu, 20 Jan 2005 04:34:39 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response