myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bacher <hanshbac...@gmail.com>
Subject Re: Help with regular expression
Date Sat, 27 Feb 2010 15:52:47 GMT
Richard Yee wrote:
> Use a separate validator for length

Yes, i also thought of that.

> 
> Richard
> 
> Sent from my iPhone
> 
> On Feb 26, 2010, at 9:29 AM, laredotornado <laredotornado@gmail.com> wrote:
> 
>>
>> Hi,
>>
>> I'm using MyFaces 1.1.5 and Tomahawk 1.1.7.  I am using a regexp to
>> validate
>> a text field and I was wondering how do I rewrite/add to it to
>> indicate that
>> the total amount of characters should be between 1 and 320?  Here is
>> what I
>> have now ...
>>
>> <t:validateRegExpr
>> pattern="[\w\-\+\&\*]+(?:\.[\w\-\_\+\&\*]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}$"
>> />
>>
>> Thanks for any feedback, - Dave
>> -- 
>> View this message in context:
>> http://old.nabble.com/Help-with-regular-expression-tp27721131p27721131.html
>>
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>


Mime
View raw message