I'm trying to do a very simple string replacement with regular expressions. But it does not seem to work!
Are regular expressions supported as defined in java.util.regex.Pattern?
Following is my code which doesn't work, as verified via debugger
Thanx,
Thomas
PS: I'm using GWT 2.0.3 and SmartGWT 2.1
Are regular expressions supported as defined in java.util.regex.Pattern?
Following is my code which doesn't work, as verified via debugger
Code:
String url = currentLocation(); url.replaceAll("locale=.*", "locale=" + event.getValue());
Thomas
PS: I'm using GWT 2.0.3 and SmartGWT 2.1
Comment