All the IDEs have some form of regexp testing plugin; I use the
intellij one all the time.
On Jan 14, 2008 4:33 AM, Michael Courcy <[EMAIL PROTECTED]> wrote:
> Did you try this regexp with in a regular java program ?
>
> Thomas Zenglein a écrit :
>
> > Hello everybody,
> >
> > I want my textfield
Thomas Zenglein a écrit :
Hello,
thanks evrybody for attempting to help me with that problem. I tried every suggest you gave, with no positve result. Now I think this is a Tapetry internal problem.
Any idea for an alternative solution method?
Meanwhile I have to be happy without the regexp che
Hello,
thanks evrybody for attempting to help me with that problem. I tried every
suggest you gave, with no positve result. Now I think this is a Tapetry
internal problem.
Any idea for an alternative solution method?
Meanwhile I have to be happy without the regexp check.
THX
Thomas
>>> Mich
well I wonder if the comma is not playing a role in the interpretation
of the annotation ?
did you try to replace the comma by its unicode value : \u002C
Thomas Zenglein a écrit :
Hello Michael,
I've just tried following lines.
public class Test {
public static void main(String[] args)
i'm not sure, but have you tried this:
@Validate("required,regexp=prop:myRegExpCheck")
public String getMyRegExpCheck()
{ return "[<>a-z\\,A-ZöäüÖÄÜß0-9\\.\"\'?!§$%&\\-+*:/ ]+"; }
2008/1/14, Thomas Zenglein <[EMAIL PROTECTED]>:
>
> Hello Michael,
>
> I've just tried following lines.
>
> public
Hello Michael,
I've just tried following lines.
public class Test {
public static void main(String[] args) {
String foo = ",";
if (foo.matches("[<>a-zA-Z,öäüÖÄÜß0-9\\.\"\'?!§$%&\\-+*:/ ]+")){
System.out.println(":)");
} else {
System.out.
Did you try this regexp with in a regular java program ?
Thomas Zenglein a écrit :
Hello everybody,
I want my textfield to allow a couple of signs. For that I have the following
code.
@Validate("required,regexp=[<>a-zA-ZöäüÖÄÜß0-9\\.\"\'?!§$%&\\-+*:/ ]+")
public void setName(String name) {