Article View: es.comp.os.linux.programacion
Article #8193Re: Problemilla con expresiones regulares
From: Saiyine
Date: Sat, 28 Dec 2002 00:54
Date: Sat, 28 Dec 2002 00:54
22 lines
1718 bytes
1718 bytes
Vale, creo que ya lo tengo! Por fin, esta es la expresion regular que buscaba: <info>([^(info)]*)<\/info> que evalua correctamente que en $1 hay que meter los caracteres entre el primer info y el segundo. <info>prue<hey>ba1234</info><info>blablablabla</info> El truco era negar la palabra metida entre parentesis, para que piense que es un solo caracter. Muchas gracias por vuestra paciencia! -- ============================================================================= saiyine@clubdelphi.com || http://clubdelphi.com/saiyine Programador, centrocampista ofensivo y usuario registrado de linux nīŋŊ 215402 [Swanson.k7xp-2000+.256ram.40G-Gentoo] Seti@home, 737wus PYTHONS:What's your favourite colour?
Technical Details
Message-ID:
<auisj8$7ps2h$1@ID-84570.news.dfncis.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!62-43-110-222.user.ono.COM!not-for-mailReferences:
<aui8bh$7ha23$1@ID-84570.news.dfncis.de>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,421d9d514e364efa X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-12-27 16:51:54 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.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!62-43-110-222.user.ono.COM!not-for-mail From: Saiyine <saiyine@clubdelphi.com> Newsgroups: es.comp.os.linux.programacion Subject: Re: Problemilla con expresiones regulares Date: Sat, 28 Dec 2002 01:54:03 +0100 Lines: 22 Message-ID: <auisj8$7ps2h$1@ID-84570.news.dfncis.de> References: <aui8bh$7ha23$1@ID-84570.news.dfncis.de> Reply-To: saiyine@clubdelphi.com NNTP-Posting-Host: 62-43-110-222.user.ono.com (62.43.110.222) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: fu-berlin.de 1041036712 8187985 62.43.110.222 (16 [84570]) User-Agent: KNode/0.7.1