Hi, I want to store some regex expressions in my own Messages
instance. Unfortunately, the {0} brace/number syntax seems strictly
reserved for text replacement
i.e. key=blah blah {0} blah
public interface MyMessages extends Messages {
@DefaultMessage("blah blah {0} blah")
String key(int num);
}
I want to put something like this in:
@DefaultMessage("[\\w]{12}")
String myRegex();
but the compiler croaks on that b/c the interface method does not take
12 arguments. Is there a way to escape this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---