guiii schrieb:
> does not work.  I guess the pipe "|" is seen as an OR (i.e. the
> split() delimiter becomes empty string OR semicolon).
> 
> I tried to escape it with a \, but gwt compiler complains:
> 
>    Invalid escape sequence (valid ones are  \b  \t  \n  \f  \r  \"
> \'  \\ )
> 
> It seems that not all regexp are supported in the gwt ?

No it means, that \| is not recognized by the java-compiler.
The backslash is a special character in Strings and must
be escaped (as you can see in the list of valid escape-
sequences being showing above). Use \\ and all will be well ;-)


Regards, Lothar

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to