By the way in this I use the expanded forms of  & g t ;  and & l t ; minus the spaces, 
but you can't see them on the page below.



----- Original Message -----
From: [EMAIL PROTECTED]
Date: Thursday, November 4, 2004 2:28 am
Subject: Validor has a problem with negative expressions

> 
> I have the validator working doing some fairly complex field 
> validations, but I am having a problem with what I think should be 
> a trivial thing.
> 
> I am trying to create an expression where you get all but html 
> types of characters.  I have tried variations, but can't seem to 
> get this to work.
> 
> <constant>
>    <constant-name>requiredHtmlRestricted</constant-name>
>    <constant-value>^[^<^&gt;]+$</constant-value>
> </constant>
> 
> I would expect this to allow me to capture all characters except 
> the less then and greater then sign according to 
> http://jakarta.apache.org/regexp/apidocs/ RE description and 
> elsewhere.
> It does not work.
> 
> Ideas?
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to