🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #709

Re: Duda con expresión regular que no funciona

#709
From: Ricardo Palomares Martinez
Date: Mon, 22 Jan 2007 22:11
18 lines
1380 bytes
Ricardo Palomares Martinez escribió:
> Saludos:
> 
> Estoy intentando usar una expresión regular para encontrar un dato (...)


Solucionado, el problema era que usaba Matcher.matches() en lugar de
Matcher.find() para comprobar si había tenido éxito. Como en este caso
me interesaban coincidencias parciales del texto y no completas,
.matches() no servía.

Saludos.

-- 
If it's true that we are here to help others,
then what exactly are the OTHERS here for?
Technical Details
Message-ID: <6epf84-aeh.ln1@Father.family>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!aioe.org!Father.family!news
References: <mb7d84-mej.ln1@Father.family>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1116f3,eaf7683d9595d9d6
X-Google-Attributes: gid1116f3,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!aioe.org!Father.family!news
From: Ricardo Palomares Martinez <rpm.PUBLI@iespana.es>
Newsgroups: es.comp.lenguajes.java
Subject: Re: Duda con expresión regular que no funciona
Date: Mon, 22 Jan 2007 23:11:50 +0100
Organization: Hogar, dulce hogar
Lines: 18
Message-ID: <6epf84-aeh.ln1@Father.family>
References: <mb7d84-mej.ln1@Father.family>
NNTP-Posting-Host: 2neXXnSDaKZMCTX7m8OVFA.user.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 Mnenhy/0.7.4.0