You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oro-user@jakarta.apache.org by Jerzy Kut <je...@rzeszow.tiger.com.pl> on 2003/06/09 13:53:00 UTC

Re[3]: AW: matching a part of expression

Hello Ńĺđăĺé,

Yes! That's it! Thank You.

Best regards
Jerzy Kut


Monday, June 09, 2003, 1:11:15 PM, you wrote:

ŃŃ> Hello Jerzy,

ŃŃ> Monday, June 09, 2003, 12:48:38 PM, you wrote:

JK>> Received: from mail.zolshar.ru ([195.2.72.152]) by zolshar.ru ([192.168.0.5])
JK>>         with DomainPOP (MDaemon.PRO.v6.7.1.R)
JK>>         for <se...@zolshar.ru>; Mon, 09 Jun 2003 12:48:12 +0400
JK>> Return-Path: <or...@jakarta.apache.org>
JK>> X-Deliver-To: serge@zolshar.ru
JK>> Received: from apache.org ([208.185.179.12] verified)
JK>>   by frontend3.aha.ru (CommuniGate Pro SMTP 4.0.6)
JK>>   with SMTP id 5556774 for serge@zolshar.ru; Mon, 09 Jun 2003 12:42:52 +0400
JK>> Received: (qmail 32616 invoked by uid 500); 9 Jun 2003 08:42:33 -0000
JK>> Mailing-List: contact oro-user-help@jakarta.apache.org; run by ezmlm
JK>> Precedence: bulk
JK>> List-Unsubscribe: <ma...@jakarta.apache.org>
JK>> List-Subscribe: <ma...@jakarta.apache.org>
JK>> List-Help: <ma...@jakarta.apache.org>
JK>> List-Post: <ma...@jakarta.apache.org>
JK>> List-Id: "ORO Users List" <oro-user.jakarta.apache.org>
JK>> Reply-To: "ORO Users List" <or...@jakarta.apache.org>
JK>> Delivered-To: mailing list oro-user@jakarta.apache.org
JK>> Received: (qmail 32605 invoked from network); 9 Jun 2003 08:42:32 -0000
JK>> Received: from pc154.rzeszow.sdi.tpnet.pl (HELO genowefa.rzeszow.tiger.com.pl) (213.76.240.154)
JK>>   by daedalus.apache.org with SMTP; 9 Jun 2003 08:42:32 -0000
JK>> Received: from 127.0.0.1 (unknown [10.0.0.22])
JK>>         by genowefa.rzeszow.tiger.com.pl (Postfix) with ESMTP id D750411F23
JK>>         for <or...@jakarta.apache.org>; Mon,  9 Jun 2003 10:42:34 +0200 (CEST)
JK>> Date: Mon, 9 Jun 2003 10:48:38 +0200
JK>> From: Jerzy Kut <je...@rzeszow.tiger.com.pl>
JK>> X-Mailer: The Bat! (v1.48f) Personal
JK>> Reply-To: Jerzy Kut <je...@rzeszow.tiger.com.pl>
JK>> Organization: SCOTT TIGER S.A.
JK>> X-Priority: 3 (Normal)
JK>> Message-ID: <11...@rzeszow.tiger.com.pl>
JK>> To: "ORO Users List" <or...@jakarta.apache.org>
JK>> Subject: Re: AW: matching a part of expression
JK>> In-reply-To: <91...@MAIL>
JK>> References: <91...@MAIL>
JK>> Mime-Version: 1.0
JK>> Content-Type: text/plain; charset=Windows-1250
JK>> Content-Transfer-Encoding: 8bit
JK>> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
JK>> X-MDRemoteIP: 195.2.72.152
JK>> X-MDRcpt-To: serge@zolshar.ru
JK>> X-MDaemon-Deliver-To: serge@zolshar.ru

JK>> Hello Michael,

JK>> Thank you for Your email. You gave me solution about I thought before
JK>> (variant B). But let's me try to explain exactly what I want to do.

JK>> Imagine I design textfield component what uses regular expression to
JK>> validating of entering text. This pattern is given by user of my
JK>> component in target application. So I don't know what expression will
JK>> be apply to validation.
JK>> When the enduser try to typing of characters in target application
JK>> to the component it (component) should accept only characters allowed
JK>> by pattern on desired position eg.
JK>> pattern: [0-9]-
JK>> text entered now in component: 123
JK>> and when the enduser try to enter '.' character on current (at the end
JK>> of '123' string) position then my component should reject it and content of
JK>> component should stay unchanged. But when enduser would to type '-'
JK>> character then component should to accept it and in my component
JK>> text '123-' should apears.

ŃŃ> Just that..
ŃŃ> http://jregex.sourceforge.net/gstarted-advanced.html#imatching




---------------------------------------------------------------------
To unsubscribe, e-mail: oro-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: oro-user-help@jakarta.apache.org